15 of 17 user stories completed on the landing page challenge

link to my “fork this pen” cant get user stories #2 and #6 to convert. Not sure what I need to do. Thanks.

Timothy M

the first line below the failed user story can give you an hint of what’s the issue:

The src attribute's value should be a url (http...) : expected 'd:\\blacksandlogo.png' to include 'http'

The .nav-link with href="#links" is not linked to a corresponding element on the page

#video should be an <iframe> or <video> element

now that you know where to look, try fixing the issues, or if you need more help reply to this thread

I got #2 now, still baffled on #6. Looks to me like I have met the the criteria on that one.

Here’s a copy of that html/css:

<section id="video">
    <iframe width="560" height="315" 
    src="https://www.youtube.com/embed/ql6ZpEkguF4" frameborder="0" 
    allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" 

is the element with id of #video an iframe element?

as far as I know yes. Should I change the element to <video>?

tried that but still didn’t work.

a copy of what the error says:

#video should be an <iframe> or <video> element 
AssertionError: #video should be an <iframe> or <video> element 

what element does have the id of #video?
look at it really carefully, character by character

1 Like

After searching for coding errors, etc and not finding any, I just hit the “RUN” button again to see and was delighted “16/16” show up, finally! Thank you for your help Ieahleen!

you have the id on a section element, not on a video or iframe element

and if the pen is the same I see 13/16 passed