Tell us what’s happening:
I am stuck on this challenge. I can’t think what I am doing wrong?
Your code so far
<header>
<main>
Weapons of the Ninja
</main>
</header>
<footer>
</footer>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
.
Challenge: Jump Straight to the Content Using the main Element
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
1 Like
What do the failing tests say?
Also, why is your main
element nested inside the header
element?
It says:
The main
tags should be between the closing header
tag and the opening footer
tag.
lasjorg
August 24, 2020, 10:30pm
#4
<header>
(¨~¨)
</header> <!-- closing header tag -->
<main>
/ | | \
</main>
<footer> <!-- opening footer tag -->
_| |_
</footer>
1 Like
Many thanks Lasjog,
I have amended my code to reflect your answer but it still doesn’t work. See below. I wasn’t sure if I needed to include the extra symbols you added in?
Weapons of the Ninja
Hi again,
I re read the challenge, it says to keep the main tags empty. So I deleted the text and it worked.
Thanks
1 Like