Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Adan Botello
Adan Botello
1,830 Points

I cannot get my subject line to show Hi There!.

I cannot get my subject line to show Hi There!. Here is my code:

<p><strong>Email</strong> us at <a href="mailto:coolvrexperience@gmail.com? subject=Hi%20There!">coolvrexperience@gmail.com</a></p>

I don't know what I am doing wrong, any help would be greatly appreciated.

2 Answers

Antony .
Antony .
2,824 Points

Hi, Adan Botello

It look likes you're putting a space between the "?" symbol and the word "subject". All you need to do is make sure there's no space between them.

    <a href="mailto:coolvrexperience@gmail.com?subject=Hi%20There!">

Also as reference please use the Markdown Cheatsheet provided down below to format your text & code. :smile: https://teamtreehouse.com/community/howto-guide-markdown-within-posts

Adan Botello
Adan Botello
1,830 Points

I'm sorry I am completely new to all this, i don't understand what you mean by using the cheatsheet to format my text and code.

Antony .
Antony .
2,824 Points

No shame in that! Basically when you want to post your code just use three back ticks (```) on the top of your code and another three on the bottom, but before you put them on the bottom make sure the first three back ticks that are located at the top of your code have beside the language you are working on, for e.g. You can practice this with this post, so next time you post you know how to format it.

```javascript
//code goes in here

//3 more back ticks at the bottom
Adan Botello
Adan Botello
1,830 Points

BTW, thanks Antony, your solution worked like a charm.