Having problems with story 6 on tribute page

No matter what I do, I cannot get test 7 to pass! I’m very frustrated! Please help!
A Pen by Carlos Gates (codepen.io)

HI @cmgates2000 !
Welcome to the forum!

User story 7 has to deal with the anchor tag but I don’t see one your page.

I am now on user story 7, test 8 which I cannot get to pass. Thank you for replying.
A Pen by Carlos Gates (codepen.io)

Never mind- I got it!!! Thanks!!!

I can’t get story 7 to pass, or 9. I thought I did earlier, but I was mistaken. This is confusing! Please look at link and help!
A Pen by Carlos Gates (codepen.io)

Hello, @cmgates2000 ,

Firstly, when i checked your codepen, there were only stories 2 and 7 in red text color.

  • For the second one,( 2. The element should be centered within its parent element.)
    You can use margin property with the value of auto which will center your elements within the available space of your container. (If you didn’t create any containers, your body(your whole page) is your main container for your elements.

  • For the seventh one,

You should create an anchor tag which should have three attributes, id - href - target .

For user story 7, this is what I am seeing for the link.

    <a id="tribute-link", target=_blank, href="https://www.youtube.com/watch?v=qFfnlYbFEiE"> 
 <img id="image" src="https://newswithoutpolitics.com/wp-content/uploads/2020/11/fd-nwp-scaled.jpg" alt="Picture of Jimi jamming" width="20%" height= "100%"></a>

I see a few syntax errors here.

You have added commas here


and here


but anchor tags do not use commas so those need to be removed.

Also all attributes need quotes for them.

This currently does not have quotes


if you need help with where to place the quotes, just look to what you did for the id because you did that correctly here


Hope that helps!

Thanks for the help! Didn’t see your solutions until later, so I need to check my forum more often! I really appreciate the time you took to reply, though. Cheers!

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