I Can't pass the .nav-link test even tho the a tag already linked to another section

When I click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page.’

i already link to another section all the a tag, what seems to be the problem here?
many thanks before!

Hyy @djuliobusinessmail,

You wrote a good code there. And you will be able to pass the test after you remove that “nav-link” class from your “li” tags. As the bug suggest inside the test -

Bug - “When I click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page.”

As here, “li” tag is not clickable so that’s why it’s producing a bug.

Hope you got your answer.
Have a great day ahead! :rose:

1 Like

I don’t know how you can debug that man…
can you explain how you find out that bug? whats your assumption or starting point when looking for the bug?

i wish i can have the same perspective and skills as you, thanks teach!

Thanks a Lot! it works!

1 Like

When I was looking at the “div” section, I found nothing but then I thought that there may be something wrong with the “nav” section.So I checked there and I got the bug.

Whenever you’re looking for the bug, try to look at the things attach to the problem. Happy Coding! :keyboard:

1 Like

noted, thanks for your guidance!

1 Like

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