Build a product landing page

Product Landing Page - Build a Product Landing Page

<!DOCTYPE html>
    <meta name="viewport"  content="device=width-device, initial-scale=1.0">
    <link rel="stylesheet" href="styles.css">
    <header id="header">
      <img src="" id="header-img" />
      <nav id="nav-bar">
        <a class="nav-link" href="#body"></a>
        <a class="nav-link" href="#iframe"></a>
        <a class="nav-link" href="#form"></a>
      <iframe id="video" src=""></iframe>
      <form id="form" action="">
        <input type="email" id="email" placeholder="Your Email" name="email" required/>
        <input type=submit id="submit" onclick="" />

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
I did link to a section within my page but my code is stil not being accepted! whats wrong, how do i fix it?

The link on the href attribute takes you to the element with that spscific id.
#footer means there is an element with id="footer". Right now you only have a form with id="form" which is good but none of your elements have the ids “body” and “iframe”. Those are just element names.
Hope this helps.

1 Like

IT did thank you! @JuniorQ

1 Like