Contributing for the first time in a website project and editing an existing website. One list item looks like this:
<li>li class="public-nav hide" id="signup-nav"><a href="signup"><button class="btn btn-primary">Get Started for Free</button></a></li>
As you can see, the internally stored page "signup" is referenced in this list item. However, when I want to replicate this referencing pattern, it does not work.
For example, I tried to link to the signup page like this:
<div class="first-content text-small">Are you a new user? <a href="signup">Get started for free.</a></div>
However, the link when clicked leads to the landing page rather than to the sign-up page. Why could that be and how to fix?
button
element inside an anchor