Stuck on 4 things and close to finishing Responsive Web Design Cert

Hi all!
Please could I get some help?

I have 4 errors that I can’t quite overcome to get my certificate, they are as follows:

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

  • Your portfolio should have an a element with an id of profile-link.

  • Your #profile-link element should have a target attribute of _blank.

Your #navbar element should always be at the top of the viewport.

Probably something really silly but again I am very new to this, thank you in advance

https://codepen.io/clarasais/pen/JjZPPdb

Ps. I have tried sharing the code in Codepen from FCC but doesn’t look right

Its difficult to help without seeing the code.

you can show a code block by surrounding it
three backtics ```

if you cant find the backtic on your keyboard use ALT+065

could you copy and past your html code ?

is this for the ‘build a personal portfolio webpage’ cert?

<section id="#profile-link" class="project-tile" <a target="_blank" href="https://github.com/clarasais">GitHub</a>
your last section doesn’t seem to have a closing >

I think the id=profile link should be on an anchor element, but not 100% sure

sometimes margins can prevent nav bars passing. try a margin-top: 0px

Yes, the final project for the responsive web design cert

<html>

<head>
  <link rel="stylesheet" href="styles.css">
</head>

<body>
<section>
<nav id="navbar">
   <a class="nav-link"href="#home">Home</a>
   <a class="nav-link"href="#graphicdesign">Graphic Design</a>
   <a class="nav-link"href="#illustration">Illustration</a>
   <a class="nav-link"href="#books">Books</a>
   <a class="nav-link"href="#cv">CV</a>
   <a class="nav-link"href="#hcontact">Contact</a>
  </nav>
</section>
    
<section id="welcome-section">
<h1>Claire Sells</h1> <h3>Illustrator/Designer/Coder/Vocalist</h3>
</section>

<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros, pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus. <br>
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros, pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.<br>
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros, pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros, pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros, pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros, pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros, pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.
</p>
  
  <section id="projects">
    <a href="https://www.youtube.com/ClaraMarieSais">My YouTube Channel
    </section> 
    <br>

    <section id="#profile-link" class="project-tile" <a target="_blank" href="https://github.com/clarasais">GitHub</a>
    </section>

    
  </body>
  </html>


Your two issues here

  • Your portfolio should have an a element with an id of profile-link.

  • Failed:Your #profile-link element should have a target attribute of _blank.

are because of this

  <section id="#profile-link" class="project-tile" <a target="_blank" href="https://github.com/clarasais">GitHub</a>
    </section>
  1. Need to get rid of the # in the id
  2. The challenge says you need an a element (or link) that has the id of profile-link. You have your profile-link id in a section.
  3. You also need to add a closing > for your opening section because you are missing that
  4. Once you move the id to the link with the target attribute then it should fix the other issue

Thank you to both of you. I have managed to correct the ’ * Your #profile-link element should have a target attribute of _blank.’ error, just the last three I am stuck on? :frowning:

<html>

<head>
  <link rel="stylesheet" href="styles.css">
</head>

<body>
<section>
<nav id="navbar">
   <a class="nav-link"href="#home">Home</a>
   <a class="nav-link"href="#graphicdesign">Graphic Design</a>
   <a class="nav-link"href="#illustration">Illustration</a>
   <a class="nav-link"href="#books">Books</a>
   <a class="nav-link"href="#cv">CV</a>
   <a class="nav-link"href="#hcontact">Contact</a>
  </nav>
</section>
    
<section id="welcome-section">
<h1>Claire Sells</h1> <h3>Illustrator/Designer/Coder/Vocalist</h3>
</section>

<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros, pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus. <br>
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros, pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus.
</p>
  
  <section id="projects">
    <a href="https://www.youtube.com/ClaraMarieSais">My YouTube Channel
    </section> 
    <br>

  <div section>
<a
      id="profile-link"
      href="https://github.com/clarasais"
      target="_blank"
      class="btn contact-details"
      ><i class="fab fa-github"></i> GitHub</a
    >
</div>

    
  </body>
  </html>

And here is the CSS

  
body {
background-color: #fce9eb;
  color: darkred;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
}

@media only screen and (max-width: 200px)

The last three are pretty straight forward

  1. Your portfolio should contain at least one element with a class of project-tile . - I dont see any element where you have given them the class of .project-tile

  2. Your portfolio should use at least one media query. - your media query is not structured correctly. You can look here and get a better idea of how it needs to be
    CSS3 Media Queries - Examples

  3. Your #navbar element should always be at the top of the viewport. - you can read here on how you can do that
    How to Keep a Navbar at the Top of My Viewport?