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
Presley Connor
944 PointsMy footer keeps adding letters/characters that are not in my code
When I code my footer, this random A with a line over it keeps popping up when I view it on the website screen. I cannot figure out how to correct it, as it is not in my code... Any suggestions?
HTML:
</body>
<footer>
<p>© Presley Connor</p>
</footer>
</html>
CSS: footer { text-align: center; background: #4e3a39; color: #e7d3d2; padding: 1em; }
2 Answers
doesitmatter
12,885 PointsThe <footer> tag should be within the <body> tag. In your code, it is outside of it.
The general structure is:
<html>
<head></head>
<body>
<header></header>
<nav></nav>
<section></section>
<footer></footer>
</body>
</html>
Presley Connor
944 PointsI tried this and the A is still appearing...any other ideas? Thank you!
Presley Connor
944 PointsIt has been resolved! For some reason, deleting one of my indents in the code solved the problem! Thanks y'all
Bogdan Cabaj
16,349 PointsBogdan Cabaj
16,349 PointsTry doing inspect in chrome developer tools and see what additional markup has been added.