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

General Discussion

Coding help

I copied a section of code from a colleague. The codes reads as follows:

<a href="https://www.codecademy.com/courses/learn-html-css/lessons/common-elements/exercises/review-common-elements?action=lesson_resume"/> <target=blank"Starting Out"/a>
  <ul>
    <li>more employable</li>
    <li>More tech savvy</li>
    <li>And an all around better technician</li>
  </ul>
  <img=src"https://cdn.meme.am/instances/400x/37668122.jpg" alt=blank"Don't get stressed out!"/>

I keep receiving error messages saying "special characters must be escaped". Can anyone shed some light on this to me as to where the error is taking place?

Moderator Edited: Added Markdown to the code so it is readable in the Community. Please refer to the Markdown CheatSheet to see how to post a code snippet in the Community. :)

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hey Dee,

Two things:

  1. The = sign for img src is in the wrong place.
  2. The word "blank" after alt= is not needed and will cause an error. (Not sure why it's there, though?)
<img src="https://cdn.meme.am/instances/400x/37668122.jpg" alt="Don't get stressed out!"/>

Once I added the markdown, you can see by the syntax highlighting where the errors are. :)

Hope that helps. :dizzy:

This did help. Thanks!