Tell us what’s happening:
Hey!!
I am stuck.
All the input that aren’t a type of submit should be in a label.
please help.
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Checkout Page</title>
</head>
<body>
<h1>Checkout</h1>
<section>
<h2>Your Cart</h2>
<img src="https://cdn.freecodecamp.org/curriculum/labs/cube.jpg" alt="text"/>
</section>
<section>
<h2>Payment Information</h2>
<form>
<label for="card-name">Card Name<input id="card-name" name="card-name" required aria-required="true"></input></label><br><br>
<labelfor="card-number">Card Number<input id="card-number" name="card-number" required aria-required="true"></input></label><br><br>
<label for="expiry">Expiry<input id="expiry" name="expiry" required aria-required="true"></input></label><br><br>
<label for="Cvv">Cvv<input id="cvv" name="cvv" required aria-required="true"></input></label><br><br>
<input type="submit" name="submit"></input>
</form>
</section>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:138.0) Gecko/20100101 Firefox/138.0
Challenge Information:
Build a Checkout Page - Build a Checkout Page