** us what’s :**
.
Hello, unfortunately I can’t get any further at one point, because I’m expected to put the #nav-bar at the top of the viewport, but I don’t know how to do the right thing.
Hint: Your #nav-bar should always be at the top of the viewport.
Your code so far
/* file: index.Ext.html */
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css"></link>
<title>Handcrafted, home-made masterpieces</title>
</head>
<body>
<header id="header">
<nav id="nav-bar">
<ul>
<li><a class="nav-link" href="#features">Features</a></li>
<li><a class="nav-link" href="#how-it-works">How it works</a></li>
<li><a class="nav-link" href="#pricing">Pricing</a></li>
</ul>
</nav>
<img id="header-img" src="https://cdn.freecodecamp.org/testable-projects-fcc/images/product-landing-page-logo.png" alt="Original Trombones">
</header>
<section>
<h1>Handcrafted, home-made masterpieces</h1>
<form id="form" action="https://www.freecodecamp.com/email-submit" method="post">
<input type="email" id="email" name="email" placeholder="Enter your email address" required>
<input type="submit" id="submit" value="Get started">
</form>
</section>
<section id="features">
<div class="features">
<div class="icon">🔥</div>
<h1>Premium Materials</h1>
<p>Our trombones use the shiniest brass which is sourced locally. This will increase the longevity of your purchase.</p>
</div>
<div class="features">
<div class="icon">🚗</div>
<h1>Fast Shipping</h1>
<p>We make sure you recieve your trombone as soon as we have finished making it. We also provide free returns if you are not satisfied.</p>
</div>
<div class="features">
<div class="icon">🔋</div>
<h1>Quality Assurance</h1>
<p>For every purchase you make, we will ensure there are no damages or faults and we will check and test the pitch of your instrument.</p>
</div>
</section>
<section id="how-it-works">
<iframe id="video" src="https://youtu.be/y8Yv4pnO7qc"
width="360"
height="310"
allowfullscreen
></iframe>
</section>
<section id="pricing">
<div class="product">
<h2>Tenor Trombone</h2>
<p>$600</p>
<ol>
<li>Lorem ipsum.</li>
<li>Lorem ipsum.</li>
<li>Lorem ipsum dolor.</li>
<li>Lorem ipsum.</li>
</ol>
<button>select</button>
</div>
<div class="product">
<h2>Bass Trombone</h2>
<p>$900</p>
<ol>
<li>Lorem ipsum.</li>
<li>Lorem ipsum.</li>
<li>Lorem ipsum dolor.</li>
<li>Lorem ipsum.</li>
</ol>
<button>select</button>
</div>
<div class="product">
<h2>Valve Trombone</h2>
<p>$1200</p>
<ol>
<li>Plays similar to a Trumpet</li>
<li>Great for Jazz Bands</li>
<li>Lorem ipsum dolor.</li>
<li>Lorem ipsum.</li>
</ol>
<button>select</button>
</div>
</section>
<footer>
<ul>
<li><a href="#">Privacy</a></li>
<li><a href="#">Terms</a></li>
<li><a href="#">Contact</a></li>
</ul>
<span>Copyright 2016, Original Trombones</span>
</body>
</html>
/* file: styles.Ext.css */
#nav-bar{
position:fixed;
top:0;
right:0;
}
Your mobile information:
iPad - iPadOS26.0.1
Challenge: Product Landing Page - Build a Product Landing Page
Link to the challenge: