(SOLVED) Problem with anchor elements (landing product webpage)

Hello everybody!
I need help with the “landing product webpage” project I’ve been strugling with it for hours!
Specifically with the anchor elements “nav-links”.(user story #5) I couldn’t pass that test no matter what I did.
Here’s my code :

<!DOCTYPE html>
<html lang="es" dir="ltr">
    <meta charset="utf-8">
    <link rel="stylesheet" href="./css/style.css">
    <header id="header">
      <nav id="nav-bar">
        <p  class="nav-link"> <a href="#div1">1</a></p>
        <p  class="nav-link"> <a href="#div2">2</a></p>
        <p  class="nav-link"> <a href="#div3">3</a></p>
    <div id="div1">
    <div id="div2">
    <div id="div3">

what is wrong with it?
Thanks in advance!

Never mind. I just solve it. The problem was that I put [class=“nav-link”] to the “p” element instead of putting within the “a” element. That was it.
I’ll leave this post and solution. It might hopefully help others. Cheers!