This forum is now read-only. Please use our new forums! Go to forums
4/9 [resolved] Add an h1 element after the closing </div> tag."
This is what my code looks like:
<!DOCTYPE html>
<html>
<body>
<Div class="nav">
<Div class="container">
<ul>
<li>My name</li>
<li>Browse</li>
</ul>
<ul>
<li>Sign up</li>
<li>Log in</li>
<li>Help</li>
</ul>
</div>
</div>
<h1>Find a place to stay</h1>
<p>Rent from people in over 34,000 cities and 192 countries</p>
</body>
I have examined the opening and closing tags for typos and tried indenting the code? I’ve also tried reloading the exercise and keep getting the same error. Any help would be appreciated.
Answer 5408564a9c4e9d32c20011d9
4 votes
The code checker isn’t happy about those capital “D”s on your <Div ...
. I don’t think the capital is actually wrong but I think it falls into the “best practices” category, you won’t often see that occurring if you have a look at other people’s code.
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
2 comments
That worked!!! Thank you so much! Its so weird that the error message had nothing to do with the error. =)
Great! It’s a learning process, this code checking thing, people keep coming up with new, interesting, ways to break it :)