Product Landing Page - Build a Product Landing Page

Tell us what’s happening:
Describe your issue in detail here.
should my h1 and button tags be in my header??

Your code so far

<!-- file: index.html -->
<header id="header">
   <img id="header-img" src="https://cdn.freecodecamp.org/testable-projects-fcc/images/product-landing-page-logo.png" alt="logo">
   <nav id="nav-bar">
      <ul>
    <li><a href="#">Features</a></li>
    <li><a href="#">How it works</a></li>
    <li><a href="#">pricing</a></li>
  </ul>
   </nav>
</header>
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0

Challenge: Product Landing Page - Build a Product Landing Page

Link to the challenge:

  • i wouldn’t structure my html that way, header is supposed to be a “banner” kind of thing, “nav” is for navigation which can be used in various places

if you want to read more about it, consider going through this mdn article, happy reading :slight_smile: <header> - HTML: HyperText Markup Language | MDN

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