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

HTML How to Make a Website Debugging HTML and CSS Problems Continue Learning

What is wrong with this?

Whats wrong with this code?

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>ME</title> <link rel="stylesheet" href="css/normalize.css"> <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/responsive.css"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Me</h1> <h2>Website Rookie</h2> </a> <nav> <ul> <li><a href="index.html" >Portfolio</a></li> <li><a href="about.html" >About</a></li> <li><a href="contact.html" class="selected">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <h3>General Information</h3> <p>Don't talk to me.</p> <p>Pls. Never.</p> </section>

<section id="secondary"> <h3>Contact Details</h3> <ul class="contact-info"> <li class="phone"> <a href="tel:555-3843">555-3843</a></li> <li class="mail"><a href="mailto:nick@example.com>nick@example.com">lukas.adams@me.com</a></li> <li class="twitter"><a href="http://twitter.com/nickrp">@nickrp</a></li> </section> <footer> <a href="http://twitter.com/nickrp"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a> <a href="http://facebook.com/nickpettit"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a> <p>Ā© 2016 Me.</p> </footer> </div> </body> </html>

1 Answer

Tobias Helmrich
Tobias Helmrich
31,603 Points

Hey Lukas,

could you please be a bit more precise about the problem you're having? :) Are you doing a challenge or is something particular not working?

Div, Body, HTML, and Section Closing Tags are marked red in workspaces...

Tobias Helmrich
Tobias Helmrich
31,603 Points

Could you please edit your first post and format your code properly? Right now I can't see some tags like for example the section tags because they're not formatted as code so it would be difficult to find the problem.