mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): remove attributes from Building a registration Form (#49334)
fix #49301-removed name attributes from seed code on step 41
This commit is contained in:
+6
-6
@@ -103,23 +103,23 @@ You should not give any of the `fieldset` elements a `name` attribute.
|
||||
<form method="post" action='https://register-demo.freecodecamp.org'>
|
||||
--fcc-editable-region--
|
||||
<fieldset>
|
||||
<label for="first-name">Enter Your First Name: <input id="first-name" name="first-name" type="text" required /></label>
|
||||
<label for="last-name">Enter Your Last Name: <input id="last-name" name="last-name" type="text" required /></label>
|
||||
<label for="email">Enter Your Email: <input id="email" name="email" type="email" required /></label>
|
||||
<label for="new-password">Create a New Password: <input id="new-password" name="new-password" type="password" pattern="[a-z0-5]{8,}" required /></label>
|
||||
<label for="first-name">Enter Your First Name: <input id="first-name" type="text" required /></label>
|
||||
<label for="last-name">Enter Your Last Name: <input id="last-name" type="text" required /></label>
|
||||
<label for="email">Enter Your Email: <input id="email" type="email" required /></label>
|
||||
<label for="new-password">Create a New Password: <input id="new-password" type="password" pattern="[a-z0-5]{8,}" required /></label>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="personal-account"><input id="personal-account" type="radio" name="account-type" /> Personal Account</label>
|
||||
<label for="business-account"><input id="business-account" type="radio" name="account-type" /> Business Account</label>
|
||||
<label for="terms-and-conditions">
|
||||
<input id="terms-and-conditions" type="checkbox" required name="terms-and-conditions" /> I accept the <a href="https://www.freecodecamp.org/news/terms-of-service/">terms and conditions</a>
|
||||
<input id="terms-and-conditions" type="checkbox" required /> I accept the <a href="https://www.freecodecamp.org/news/terms-of-service/">terms and conditions</a>
|
||||
</label>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="profile-picture">Upload a profile picture: <input id="profile-picture" type="file"/></label>
|
||||
<label for="age">Input your age (years): <input id="age" type="number" min="13" max="120" /></label>
|
||||
<label for="referrer">How did you hear about us?
|
||||
<select id="referrer" name="referrer">
|
||||
<select id="referrer">
|
||||
<option value="">(select one)</option>
|
||||
<option value="1">freeCodeCamp News</option>
|
||||
<option value="2">freeCodeCamp YouTube Channel</option>
|
||||
|
||||
Reference in New Issue
Block a user