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 trialjohn williams
4,228 PointsWorkspace is showing red error highlights over identical code from the instructor.
Whenever I go along and type the same code as the instructor in the video into workspace, it often gives me red error highlights over the entered text and starts recommending the wrong tags.
This is a problem because when I go to PREVIEW WORKSPACE, the preview is much different than the instructors preview in the video.
Can someone please let me know if they are having or had the same issue and if they have the solution to it?
2 Answers
Rich Zimmerman
24,063 PointsWithout seeing your code, it sounds like you're missing a closing tag on one of your HTML elements. The 'wrong' tag that's given is most likely the HTML element that is missing it's closing tag.
john williams
4,228 PointsI've figured out that it has something to do with the quotes "" used in the alternates.
Here is what my code looks like with the red underline: https://w.trhou.se/0rhd6fkjsw
Rich Zimmerman
24,063 Points <a href="img/numbers-01.jpg:>
Missing an end " in the href here.
john williams
4,228 Pointsjohn williams
4,228 PointsReplied below with my code. It has something to do with the alt quotes. Still haven't figured out the solution.