Advertisement
Guest User

Untitled

a guest
Jan 21st, 2023
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.49 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.   <head>
  4.     <meta charset="UTF-8">
  5.     <title>Registration Form</title>
  6.     <link rel="stylesheet" href="styles.css" />
  7.   </head>
  8.   <body>
  9.     <h1>Registration Form</h1>
  10.     <p>Please fill out this form with the required information</p>
  11.     <name file></name
  12.    <form method="post" action='https://register-demo.freecodecamp.org'>
  13.         <fieldset>
  14.         <label for="first-name">Enter Your First Name: <input id="first-name" name="first-name" type="text"required/></label>
  15.         <label for="last-name">Enter Your Last Name: <input id="last-name" name="last-name" type="text" required name="last-name"/></label>
  16.         <label for="email">Enter Your Email: <input id="email" name="email" type="email" required name="email"/></label>
  17.         <label for="new-password">Create a New Password: <input id="new-password" name="new-password" type="password" pattern="[a-z0-5]{8,}" required name="new-password"/></label>
  18.       </fieldset>
  19.       <fieldset>
  20.         <label for="personal-account"><input id="personal-account" type="radio" name="account-type" /> Personal Account</label>
  21.         <label for="business-account"><input id="business-account" type="radio" name="account-type" /> Business Account</label>
  22.         <label for="terms-and-conditions">
  23.           <input id="terms-and-conditions" type="checkbox" required name="terms-and-conditions" name="checkbox"/> I accept the <a href="https://www.freecodecamp.org/news/terms-of-service/">terms and conditions</a>
  24.         </label>
  25.       </fieldset>
  26.       <fieldset>
  27.         <label for="profile-picture">Upload a profile picture: <input id="profile-picture" type="file" name="profile-picture"/></label>
  28.         <label for="age">Input your age (years): <input id="age" type="number" min="13" max="120" name="age" name="age"/></label>
  29.         <label for="referrer">How did you hear about us?
  30.           <select id="referrer" name="referrer">
  31.             <option value="">(select one)</option>
  32.             <option value="1">freeCodeCamp News</option>
  33.             <option value="2">freeCodeCamp YouTube Channel</option>
  34.             <option value="3">freeCodeCamp Forum</option>
  35.             <option value="4">Other</option>
  36.           </select>
  37.         </label>
  38.         <label for="bio">Provide a bio:
  39.           <textarea id ="bio" rows="3" cols="30" placeholder="I like coding on the beach..." name="bio"></textarea>
  40.         </label>
  41.       </fieldset>
  42.       <input type="submit" value="Submit"/>
  43.     </form>
  44.   </body>
  45. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement