I am doing a workshop to create a page for Cat photos. When I write (look down for code) the program says "your main elements closing tag should be below the P element. But isn’t it already? Anyone got any tips?
Your code so far
<html>
<body>
<!-- User Editable Region -->
<main>
<h1>this page is about cats</h1>
<p>And I love cats</p>
</main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Everyone loves cute cats online!</p>
<!-- User Editable Region -->
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.2 Safari/605.1.15
Hi. You have added text and other elements. I suggest you reset the step to get your code back. You only need to add the main element opening and closing tags where instructed.
Okay First When it says main element and opening and closing tags it will mean you are opening the coding for example and then it closes it.
So, the code will be:
So, when it says opening and closing tag it will mostly mean opening up to the very top and closing to the very bottom of the code and top the very top before it starts the code. And don’t worry about the red underline of link
We have removed this solution so that users who have not completed this challenge can read the discussion in this thread without giving away the solution. Please guide rather than post the answers as we are trying to reduce the number of spoilers on the forum.