Responsive Web Design Projects - Product Landing Page

Responsive Web Design Projects - Product Landing Page
0

#1

Hi, there.
I’m working on this project Responsive Web Design Projects - Build a Product Landing Page.
I am having trouble making my header stick to the top of the view port.
And the submit button part working fine but I’m being shown an error.

Here’s my codepen link https://codepen.io/abdul-grey/pen/PdbWpQ
It’s driving me nuts.

Really need help here.
Thanks.


#2

you need to add in css position: fixed; to your header .
you forgot to add the name attribute in <input type="email" id="email" placeholder="EMAIL" required>


#3

You missed the name attribute for your input type=“email” element

<input type="email" id="email" placeholder="EMAIL" required> ex: <input type="" name="">

Apply position: fixed to your #navbar and make it top and right to 0


#4

It worked.
I thought I need to make the whole header fixed. The tweak worked.
My code survived.

Arigato.