Hi, finding step 5 difficult…instructions: Identify the main section of this page by adding a
<main> opening tag before the
h1 element, and a
</main> closing tag after the
error saying: Hint
main element’s opening tag should be below the
body element. You have them in the wrong order.
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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 5
Link to the challenge:
It looks fine. My suggestion is to reset the code back to start and reads the main tags.
Sometimes an old state is saved in the browser and prevents the code from passing.
(After you click reset, click CTRL-F5 keys together to force a refresh of the browser)
Thanks, still not working sadly… will try resetting other ways and see if it works!
Your solution works from my end. Please try one of the following steps to move forward.
Try the step in incognito or private mode.
or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.
or - Ensure your browser is up-to-date or try a different browser.
I hope one of these will work for you.