My landing page has a <form> element with a corresponding id="form".'

Good evening all,
Requesting help on my Product Landing page project. I am having difficulty passing the error above. I thought adding a div id=“form” within my element would do the trick, but it didn’t . I’ve also tried creating another div id=“form”> outside of the form tags, but still didn’t work. Any help would be greatly appreciated.

My codepen:

    <label for="username">enter username:</label>
    <input type="text" id="enter username">
    <label for="email">enter email:</label>
    <input type="email" id="email"> 

This is your form. Notice how <form> doesn’t have an id attribute?

1 Like

So simple, Lol. I thought I either needed to create a div within the form element or create another label. It works now. Thanks again @nhcarrigan you are awesome!

1 Like

Glad I could help! Happy Coding!