.nav-link button does not work

Hi! I’m doing the third task, and I’m having a problem. I can’t complete the fifth point of this task, although everything works. Please, help!

My code:

Task link:

<section id="#contactus">

You shouldn’t have a # in the id. (You make this mistake a few times.)

I changed my code, but it didn’t help.

remember also that you should have unique elements, you shouldn’t have multiple elements with the same id

It looks like a different test is failing now:

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

This is your video element:

 <section id="video">
      <div id="video_section">
      <iframe id="video" width="560" height="315" src="https://www.youtube.com/embed/m43rh-pI0P0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

As @ilenia pointed out, you can’t use the same id twice. The first element with the id “video” is not an iframe.

Unfortunately, it still didn’t help

What changes did you make to fix the problem? What problem are you encountering now?

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