Product Landing Page - Build a Product Landing Page

Tell us what’s happening:
Please guide me on how to put my .nav-bar at the top of the veiwport.
Thanks.
My code so far

<header id="header">
	<img src="https://cdn.freecodecamp.org/testable-projects-fcc/images/product-landing-page-logo.png" id="header-img" height="50px" width="300px" />
	<nav id="nav-bar">
		<a href="#footer" target="_blank" class="nav-link">Features</a>
		<a href="#form" class="nav-link" target="_blank">How it works</a>
		<a href="#trombone-wrapper" class="nav-link" target="_blank">Pricing</a>
	</nav>
</header>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

Challenge: Product Landing Page - Build a Product Landing Page

Link to the challenge:

Your header should have a position of fixed

1 Like

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