My code's not working!

×

  1. Double check all your files are saved.
  2. Check each quote has a pair.
  3. Do all of your HTML tags have a closing tag?
  4. Ask a mentor for help!

Add a Main Tag

Open up profile.html and find your closing </header> tag, on the line right below it is where you’ll want to add your main tag.

  <main>
  </main>

Let’s add some content to that main tag. We’re going to want to add Larry’s bio, skills, quirky fact and his super power. We’re going to keep all of our topics neatly organized using the section tag.

Let’s start with the Bio section. In between the opening <main> tag and the closing </main> tag, let’s add a <section> tag. Also add an <h2> tag for the section title. When you’re done, the code inside your main tag should look something like this:

  <main>
    <section>
      <h2>Bio</h2>
    </section>
  </main>

Let’s save profile.html and refresh the page. Your page should look something like this:

add bio screenshot