Tell us what’s happening:
hello i have problem with this part of the project Each .nav-link
element should link to a corresponding element on the landing page (has an href
with a value of another element’s id. e.g. #footer
). can you please help me I tried so many things!!!
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jhanny Minott</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header id="header">
<section id="Home">
<h1>JAHNNY MINOTT</h1>
<p> info jahnny</p>
</section>
<nav id="nav-bar">
<ul>
<li><a class="nav-link" href="#Home">Home</a></li>
<li><a class="nav-link" href="#About">About</a></li>
<li><a class="nav-link" href="#Services">Services</a></li>
</ul>
</nav>
<img id="header-img" src="https://f4.bcbits.com/img/a1555166585_65" alt="jahnny minott">
</header>
<section>
<h2>SUBSCRIBE</h2>
<form
id="form"
action="https://www.freecodecamp.com/email-submit"
method="post"
>
<label for="name">Name:</label>
<input type="text" id="name" name="name" required />
<label for="email">Email:</label>
<input
type="email"
id="email"
name="email"
placeholder="example@example.com"
required
/>
<label for="message">Message:</label>
<textarea
id="message"
name="message"
rows="4"
cols="50"
required
></textarea>
<input id="submit" type="submit" value="Submit" />
</form>
</section>
<section id="Features">
<h3>Bienvenido a Mi Página</h3></section>
<p>info pag</p>
<nav id="nav-bar-Features">
<ul>
<li><a class="nav-link" href="#Features">Features</a></li>
<li><a class="nav-link" href="#Products">Products</a></li>
<li><a class="nav-link" href="#Download">Download</a></li>
</ul>
</nav>
<p>¡Explora nuestro contenido y descubre más acerca de nosotros!</p>
<video id="video" src="https://www.youtube.com/watch?v=yBNOghnp0ls" controls></video>
<section id="Contact">
<h4>Nuestros Servicios</h4></section>
<nav id="nav-bar-Contact">
<ul>
<li><a class="nav-link" href="#Privacy">Privacy</a></li>
<li><a class="nav-link" href="#Terms">Terms</a></li>
<li><a class="nav-link" href="#Contact">Contact</a></li>
</ul>
</nav>
<footer id="footer">
<p>Derechos Reservados © 2023 Mi Página Web</p>
</footer>
</body>
</html>
**Your browser information:**
User Agent is: <code>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36</code>
**Challenge:** Product Landing Page - Build a Product Landing Page
**Link to the challenge:**
https://www.freecodecamp.org/learn/2022/responsive-web-design/build-a-product-landing-page-project/build-a-product-landing-page