Having issue in the personal portfolio webpage certification page

facing issue in the personal portfolio webpage making certification test with user story 4 ( 1. The projects section should contain at least one element with a class of project-tile to hold a project).

showing error: " Your portfolio should contain at least one element with a class of project-tile ."

this code isnt passing
can somebody help me with this.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>

<head>
<link rel="stylesheet" href="styles.css">
  <title>portfolio</title>
</head>
<body>
   <section id="welcome-section">
      <h1 >WELCOME TO MY PORTFOLIO</h1>
      <h3 id="projects">Projects

        <a href="#">link to project</a>
      </h3>
     
          <p class="project-tile">html</p>
          

      
      

      <nav id="navbar">
      <a  href="#about">know more about us</a>
      </nav>
      <br>
      <a id="profile-link" target="_blank" href="https://www.freecodecamp.org/Sauravkmandal">link to my freecodecamp profile</a>


      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      
      <h4 id="about"> about us</h4>
      <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Incidunt inventore id odio quisquam fugit officiis quod ratione magnam. Quis, excepturi.
          Lorem ipsum dolor sit amet consectetur, adipisicing elit. A atque officia dolore repellat voluptatem. Cupiditate molestiae, tempore ratione soluta vel fuga sunt vero consequatur tempora rerum dicta, corporis hic eos.
          Lorem ipsum dolor sit amet consectetur adipisicing elit. Ducimus facilis dignissimos et reiciendis harum laboriosam. Quas assumenda facilis repellendus necessitatibus.
      </p>
   </section>
</body>
</html>
/* file: styles.css */
*{
  margin: 10px;
  padding: 10px;
  font-size: 30px;
}
#navbar{
  width: 100%;
  height: 8%;
  background: rgba(0, 0, 0, 0.5);
  color: black;
  position: fixed;
  top: 0;

}
@media (max width: 300px){
  *{
      color: red;
  }
}
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Build a Personal Portfolio Webpage

Link to the challenge:

The element with class of project-tile should be nested within the section with id projects.

I would recommend using the section element for #projects section as well, even though the test doesn’t specifically check for it. ie:

<section id ="welcome-section">
</section>
<section id="projects">
     <h3></h3>
     <p class="project-tile"></p>
</section>

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