Tell us what’s happening:
How do I add a
<main> opening tag before the
h1 element, and a
</main> closing tag after the
p element. What is that supposed to look like?
Your code so far
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.</p>
Your browser information:
User Agent is:
Mozilla/5.0 (X11; CrOS x86_64 14816.131.4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/188.8.131.52 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 5
Link to the challenge:
What’s going on with these two? You should only add
/main needs to come after everything you want inside of the main element - the two headers, the comment, and the paragraph.
this is the original code
you were supposed to add the main tag above the h1 line
and the closing tag below the p line
you are not supposed to add anything except these two tags.
So it would look like this?
I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (
</>) to add backticks around text.
this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
no, that is wrong.
The only thing you are supposed to do here is add one opening main tag and one closing main tag.
Please reset and try again.