This forum is now read-only. Please use our new forums! Go to forums
4/9 [resolved] I cant seem to pass this stage even after following the instructions
theres my code. heres the error message i keep getting
Oops, try again. Add an h1 element after the closing </div>
tag.
I have done that as per the instructions but the error message keeps popping up,what could be the problem. Someone please help
<!DOCTYPE html>
<html>
<body>
<div class="nav">
<div class="container">
<ul>
<li>Item 1</li>
<li>item 2</li>
</ul>
<ul>
<li>Sign up</li>
<li>Log in</li>
<li>Help</li>
</ul>
</div>
</div>
<h>Find a place to stay<h1>
<p>Rent from people in over 34,000 cities and 192 countries.</p>
</body>
</html>
Answer 55942f0b76b8fe5168000033
Hi mazigulu,
As you can probably tell from the message, this is the line that needs attention:
<h>Find a place to stay<h1>
To create an h1 element you need an opening and a closing tag and then there is usually some text between those two tags, like this:
<h1>Some text in here</h1>
Answer 560f3c1ad3292fb2a80001fe
4/9 [resolved] I cant seem to pass this stage even after following the instructions
I need your help not where I’m wrong
<div class=<!DOCTYPE html>
<html></div>
<body>
<div class=<ul>
<li>Maycol</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.</hi>
<p>Rent from people in over 34.000 cities and 192 countries.</p>
</body>
</html>
1 comments
Hi Mike, <div class=
Answer 56133d64b6254835050000cb
4/9 [resolved] I cant seem to pass this stage even after following the instructions
<DOCTYPE html>
<html>
<body>
<ul>
<li>Maycol</li>
<li>"Browse"</li>
</ul>
<ul>
<li>"Sign Up"</li>
<li>"Log In"</li>
<li>"Help"</li>
</ul></div>
</body>
</html>
so I’ll stick with the changes but I still dating , Oops, try again . Add an h1 element after the closing < / div > tag . I do wrong ?
1 comments
Hi Mike, where did your h1 element go? And you p element? I don’t see them in this latest version of your code but I do see them in your previous version.
Answer 56148367d3292fdbea000208
4/9 [resolved] I cant seem to pass this stage even after following the instructions
<DOCTYPE html>
<html>
<body>
<ul>
<li>Maycol</li>
<li>"Browse"</li>
</ul>
<ul>
<li>"Sign Up"</li>
<li>"Log In"</li>
<li>"Help"</li>
</ul></div>
<h1>"find a place to stay"</h1>
<p>"Rent from people in over 34.000 cities and 192 countries"</p>
</body>
</html>
so I’ll stick with the changes but I still dating , Oops, try again . Add an h1 element after the closing < / div > tag . I do wrong ?
1 comments
Hi MIke, sorry I didn’t notice earlier, but you are missing the opening tag for your nav div. You need a
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
Got it thanks for the help, I appreciate it
You’re welcome!