Can't get around tribute page

Tell us what’s happening:

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; TECNO CA7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36.

Challenge: Build a Tribute Page

Link to the challenge:

Please specify the problem and give a link to your codepen or anywhere.

<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<!DOCTYPE html>
<html>
<body>
  
  <h1 id="main"></h1>
      </body>
</html>

my code isn’t passing this test : ( My tribute page should have an element with a corresponding id="main" , which contains all other element), i don’t seem to get what i’m doing wrong. Thanks

read what’s written right below the failed user story:

element with id="main" must contain other elements

Use the same main attribute that html gives you with id main.
Try <main id="main">
under this put what the author says.

<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<!DOCTYPE html> 
<html>
  <body> 
    <main id="main">
Dr. Norman Borlaug
    </main>
  </body> 
</html>

is this what it’s supposed to look like? Thanks

do you know what an html elemen is?
you need to put at least one inside main for the test to pass

Use heading and paragraphs to show your content.

thanks for your help

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.