Tell us what’s happening:
It keeps saying that I’m not passing the following rules, but it looks right to me.
- That my iframe attribute should have a video id.- which it does
- My video id should have a src.- which it does.
- My form submit button should have a type=“submit” -which it does.
- That my form should have an action to the link provided- which it does.
Your code so far
<!-- file: index.html -->
<section id="video">
<h2>Watch Our Product Video!</h2>
<iframe id="video" width="560" height="315" src="https://www.youtube.com/embed/example" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope;picture-in-picture" allowfullscreen></iframe>
</section>
<section id="form">
<h2>Sign Up For Updates!</h2>
<form id="form" action="https://www.freecodecamp.com/email-submit" method="POST">
<input name="email" type="email" id="email" placeholder="Enter Your Email" required>
<input type="submit" id="submit" value="Submit">
</form>
</section>
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0
Challenge Information:
Product Landing Page - Build a Product Landing Page