Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.