Issue with question #8 personal portfolio

For some reason I am consistently failing this part of the test. I have tried everything i can think of and everything i have looked up. Below is the code in question:

Screenshot 2020-09-27 112330

Thank you for your help :slight_smile:

Hello~!

Screenshots of code are very difficult to debug. Can you provide a link to your project?

sorry about that here is the link:

 <a
      id="profile-link"
      href="https://github.com/jlj2189/Portfolio"
      target= "_blank"
      > Github</a>
      <img class="contact-image" src="https://yt3.ggpht.com/-3BKTe8YFlbA/AAAAAAAAAAI/AAAAAAAAAAA/ad0jqQ4IkGE/s900-c-k-no-mo-rj-c0xffffff/photo.jpg">   ```

Heya,

I was looking for a link to your project, as the small bit of code you’ve shared seems to be correct (except for the space after target=) so I need more information to debug this. :slight_smile:

No problem, here is the entire contact-link section. Let me know if you need more. I added the space by the = sign but it is still saying a fail. Let me Thank you again

      <section id="contact-link" class="contact-section">
  <div class="contact-section-header">
    <h2>Let's work with eachother in the future</h2>
    <p>The more projects the better experience</p>
  </div>
   <br>
   <br>
   <br>                        
         <a style="padding-left: 635px;"
      href="https://facebook.com/"
      target=”_blank”
      >
      <img class="contact-image" src="https://lh4.googleusercontent.com/-qfFKsYZbyBQ/TYHwDPCeXgI/AAAAAAAAE9M/T0BTA6mZYDE/s1600/Facebook+icon+01.png"></a>                              
   <a
      id="profile-link"
      href="https://github.com/jlj2189/Portfolio"
      target = "_blank"
      > Github</a>
      <img class="contact-image" src="https://yt3.ggpht.com/-3BKTe8YFlbA/AAAAAAAAAAI/AAAAAAAAAAA/ad0jqQ4IkGE/s900-c-k-no-mo-rj-c0xffffff/photo.jpg">      
   <a 
      href="https://twitter.com/"
      target=”_blank”
      >
<img class="contact-image" src="http://icons.iconarchive.com/icons/iynque/ios7-style/1024/Twitter-icon.png"></a>                              
</section>```

If you click on the red test button, you should see an error message for the test you are failing.

Can you share that error message?

of course here you go:

  1. My portfolio should have a link with an id of “profile-link”, which opens my GitHub or FCC profile in a new tab.
    #profile-link should have a target attribute : expected false to equal true
    AssertionError: #profile-link should have a target attribute : expected false to equal true
    at Proxy.c (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:549:1889)
    at Proxy.l (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:431:130)
    at Function.n.strictEqual (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:574:655)
    at a. (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:125040)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:38668
    at i.g.run (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:38963)
    at N.runTest (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:45686)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:46651
    at o (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:45075)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:45145

Okay, I would next recommend you double check that you do not have a duplicate profile-link ID somewhere.

Also, you should remove the spaces around the =. :slight_smile:

1 Like

Thank you so much I found the issue. I did indeed have multiple #profile-link’s.
I appreciate everything you did. So excited to finally see a complete on that issue. LOL :slight_smile:

2 Likes