Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Tell us what’s happening:
Describe your issue in detail here.
I am very confused on user story 4…I have id & class set to “project-title” but it won’t go through…
Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link rel="stylesheet" href="styles.css">
  </head>
  <body>
    <header id="navbar">
      <ul>
        <li><a href="#tech" id="project" class="navbar">Tech</a></li>
        <li><a href="#fin">Finance</a></li>
        <li><a href="#other">Other</a></li>
        <li><a href="#ed">Education</a></li>
      </ul>
    </header>
    <section id="welcome-section">
      <h1 id="welcome">
        Welcome
      </h1>
      <p id="welcome" class="summary"></p>
    </section>
    <section id="projects">
      <h2 id="project-title" class="company">Money</h2>
      <h3 class="title"></h3>
      <p class="project-title"><span class="project-title" id="project-title"><a href="https://www.msn.com/en-us/money/discover?cvid=caaa949523dc4af6b8f52443a466fe5a" id="profile-link" target="_blank">Watchlist</span></p>
    </section>
  </body>
</html>
/* file: styles.css */
header {
  position: fixed;
  width:100%;
  top: 10;
  right: -80vh;
}
@media .project {
  background: pink;
}

.project-title{
  width:100px;
}

Your browser information:

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

Challenge: Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Link to the challenge:

Ids are supposed to be unique but you are using the same id in more than one element. Try fixing that.

so only have 1 project-title id?

Yes and any other ids should be unique.


still getting an miss


this is what my testing looks like

just realized it was asking for class but still having the same issue

I can’t see your code from here. You have to share it if you want actual help.

It looks like you are not using the correct spelling.

The test is looking for project-tile but you are writing project-title

1 Like