Skip to content

Commit

Permalink
🎨 1/2 Implémenter entrées du formulaire OpenClassrooms-Student-Center#2
Browse files Browse the repository at this point in the history
- link label and input with for attribute
- change input type radio of location by checkbox
  • Loading branch information
mb47000 committed Feb 8, 2021
1 parent d7d26d9 commit f1f8cd6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions starterOnly/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h1 class="hero-headline">
>
<div
class="formData">
<label>Prénom</label><br>
<label for="first">Prénom</label><br>
<input
class="text-control"
type="text"
Expand All @@ -76,7 +76,7 @@ <h1 class="hero-headline">
</div>
<div
class="formData">
<label>Nom</label><br>
<label for="last">Nom</label><br>
<input
class="text-control"
type="text"
Expand All @@ -86,7 +86,7 @@ <h1 class="hero-headline">
</div>
<div
class="formData">
<label>E-mail</label><br>
<label for="email">E-mail</label><br>
<input
class="text-control"
type="email"
Expand All @@ -96,7 +96,7 @@ <h1 class="hero-headline">
</div>
<div
class="formData">
<label>Date de naissance</label><br>
<label for="birthdate" >Date de naissance</label><br>
<input
class="text-control"
type="date"
Expand All @@ -106,15 +106,15 @@ <h1 class="hero-headline">
</div>
<div
class="formData">
<label>À combien de tournois GameOn avez-vous déjà participé ?</label><br>
<label for="quantity">À combien de tournois GameOn avez-vous déjà participé ?</label><br>
<input type="number" class="text-control" id="quantity" name="quantity" min="0" max="99">
</div>
<p class="text-label">Quelles villes ?</p>
<div
class="formData">
<input
class="checkbox-input"
type="radio"
type="checkbox"
id="location1"
name="location"
value="New York"
Expand All @@ -125,7 +125,7 @@ <h1 class="hero-headline">
>
<input
class="checkbox-input"
type="radio"
type="checkbox"
id="location2"
name="location"
value="San Francisco"
Expand All @@ -136,7 +136,7 @@ <h1 class="hero-headline">
>
<input
class="checkbox-input"
type="radio"
type="checkbox"
id="location3"
name="location"
value="Seattle"
Expand All @@ -147,7 +147,7 @@ <h1 class="hero-headline">
>
<input
class="checkbox-input"
type="radio"
type="checkbox"
id="location4"
name="location"
value="Chicago"
Expand All @@ -158,7 +158,7 @@ <h1 class="hero-headline">
>
<input
class="checkbox-input"
type="radio"
type="checkbox"
id="location5"
name="location"
value="Boston"
Expand All @@ -169,7 +169,7 @@ <h1 class="hero-headline">
>
<input
class="checkbox-input"
type="radio"
type="checkbox"
id="location6"
name="location"
value="Portland"
Expand Down

0 comments on commit f1f8cd6

Please sign in to comment.