Hey everyone, iv finished my product landing page and would like to have the utmost critical constructive criticism from anyone that has more experience then me. + There seems to be a problem with the submit task section, or im totally misunderstood what it wants. I wrote the email submit website in the action attribute in the submit input tag but it doesnt seem to want to work. Any ideas ? i would like to hand it in today and move on with the freecodecamp curriculum.
Thanks to everyone in advance, and have an amazing fudging day.
make sure you have the product landing page selected, i just retested it says 15/16.
and what i ment with submit was the input tag with the attribute type as submit.
The <input> tag takes a ‘formaction’ attribute, not an ‘action’ attribute. ‘action’ is an attribute of the <form> tag.
I fixed the problems I saw (removed ‘action’ attribute from <input> tag, added ‘action’ attribute to <form> tag, added a ‘name’ attribute to the ‘#email’ element (as per error message)) and it still showed 15/16 passing.
Then I hit the codepen ‘fork’ button and it resulted in 16/16 passing.
I got mixed up then with the input type submit and its ‘formaction’ attribute with the forms ‘action’ attribute.
Thanks so much, it worked ! yea about the innovation XD, misstype.
would you consider on the header title adding a second line from this
Innovating, prospering and initiating from day one, join the team today !
to this
Innovating, prospering and initiating from day one.
join the team today!
and instead write
<div id=" title" >
<h1>Innovating, prospering and initiating from day one</h1>
<h2>join the team today!</h2>
</div>
<style>
#title {
text-align: center;
}
</style>
Thank you for the link, it will really help me out because the main reason i didn’t add colors was the matter of the fact that i didn’t really wanna mess it up with ill-corresponding colors and wanted to really understand the whole color theory part. You really helped me out, thanks!