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 trialJoseph Asay
846 PointsProblem with the error
I keep encountering an error that says the following:
Error Line 68, Column 7: End of file reached when inside an attribute value. Ignoring tag. </html>
The tag is there but whenever I test it I get the same error. Should I ignore it?
1 Answer
Shawn Flanigan
Courses Plus Student 15,815 PointsJoseph: Probably best not to ignore this. Based on the error, it looks like you have a syntax error in one of your opening tags that's causing problems. It's hard to tell without seeing your code, but my guess would be something like this:
<div class="contentWrapper'>
<p>This is my content.</p>
</div>
Notice the mismatched quotes in the opening div tag...I have double quotes to open the class and a single quote to close it. In the eyes of the browser, since there are no double quotes to end the class list, everything that follows in this document is part of the div's class list.
There's a pretty good chance this is the kind of error you have, but if you'd like to post your code I can take a look at it for you.
Hope that helps.
Joseph Asay
846 PointsJoseph Asay
846 PointsI'll copy and paste the code:
Shawn Flanigan
Courses Plus Student 15,815 PointsShawn Flanigan
Courses Plus Student 15,815 PointsJoseph: Not sure, but try removing the space in your viewport meta tag and replacing it with a hyphen.
So, instead of:
<meta name="viewport" content="width=device-width, initial scale=1.0">
you would have:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Joseph Asay
846 PointsJoseph Asay
846 PointsI tried adding a hyphen but it didn't help. Any other suggestions?