I can't proceed to 7/8 from 6/8, it says i must insert the p and img elements in eag figure element of which i have done, i am not sure what is wrong with my code, please help


#1


https://www.codecademy.com/courses/make-a-website/lessons/bootstrap/exercises/supporting-content?action=resume

I can't proceed to 7/8 from 6/8, it says i must insert the p and img elements in eag figure element of which i have done, i am not sure what is wrong with my code, please help.
it gives me an error message "Make sure you add a p element and an img element inside each figure element."


<!DOCTYPE html>
<html>
<head>
  <title>Skillfair</title>
  <meta charset="utf-8"/>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
  <link href='https://fonts.googleapis.com/css?family=Roboto:300,400,700' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<header class="container">
  <div class="row">
    <h1 class="col-sm-4">
      Skillfair
    </h1>
    <nav class="col-sm-8 text-right">
      <p>Newest</p>
      <p>Catalogue</p>
      <p>Contact</p>
    </nav>
  </div>
  </header>
<section class="jumbotron">
  <div class="container">
    <div class="row text-center">
      <h2>Homemade Goods</h2>
      <h3>This Year's Best</h3>
      <a class="btn btn-primary" href="https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-4/woodwork.jpg" role="button">See all</a>
    </div>
  </div>
  </section>
<section class="container">
  <div class="row">
   <figure class="col-sm-6">
     <p>
       Kitchen
     <img src="https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-4/kitchen.jpg"/></p>
    </figure>
  </div>
  <div class="row">
    <figure class="col-sm-6">
       <p>
         Woodwork 
         <img src="https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-4/woodwork.jpg"/></p>
    </figure>
    <figure class="col-sm-6">
      <p>
        Gifts 
        <img src="https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-4/gifts.jpg"/></p>
    </figure>
    <figure class="col-sm-6">
      <p>
        Antiques
        <img src="https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-4/antique.jpg"/>
      </p>
    </figure>
  </div>
  </section>
</body>
</html>


#2

You don't close your p after your img element.
Should be like this:

<figure class="col-sm-6">
    <p>Something</p>
    <img src="blank.jpg" />
</figure>

#3

Oh my!! Thank you very much,i managed to continue.


#4

You're welcome! Have fun coding :slight_smile:


#5

Thanks, it was very helpful to me, also.


#6