forked from OpenClassrooms-Student-Center/GameOn-website-FR
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(css): add error border styling and enhance form validation feedback
- Loading branch information
1 parent
a2112f9
commit a5bb5b3
Showing
3 changed files
with
155 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,7 @@ | |
<img alt="logo" src="Logo.png" width="auto" height="auto" /> | ||
</div> | ||
<div class="main-navbar"> | ||
<a href="#" class="active"><span>Accueil</span></a> | ||
<a href="#"><span>Détails de l'évènement</span></a> | ||
<a href="#" class="active"><span>Détails de l'évènement</span></a> | ||
<a href="#"><span>À propos</span></a> | ||
<a href="#"><span>Contact</span></a> | ||
<a href="#"><span>Évènements passés</span></a> | ||
|
@@ -28,6 +27,7 @@ | |
</a> | ||
</div> | ||
</div> | ||
|
||
<main> | ||
<div class="hero-section"> | ||
<div class="hero-content"> | ||
|
@@ -62,14 +62,20 @@ <h1 class="hero-headline"> | |
type="text" | ||
id="first" | ||
name="first" | ||
minlength="2" /> | ||
minlength="2" | ||
value="John" /> | ||
<br /> | ||
<span class="errorMessage"></span> | ||
</div> | ||
<div class="formData"> | ||
<label for="last">Nom</label> | ||
<br /> | ||
<input class="text-control" type="text" id="last" name="last" /> | ||
<input | ||
class="text-control" | ||
type="text" | ||
id="last" | ||
name="last" | ||
value="Doe" /> | ||
<br /> | ||
<span class="errorMessage"></span> | ||
</div> | ||
|
@@ -81,7 +87,8 @@ <h1 class="hero-headline"> | |
class="text-control" | ||
type="email" | ||
id="email" | ||
name="email" /> | ||
name="email" | ||
value="[email protected]" /> | ||
<br /> | ||
<span class="errorMessage"></span> | ||
</div> | ||
|
@@ -120,7 +127,8 @@ <h1 class="hero-headline"> | |
type="radio" | ||
id="location1" | ||
name="location" | ||
value="New York" /> | ||
value="New York" | ||
checked /> | ||
<label class="checkbox-label" for="location1"> | ||
<span class="checkbox-icon"></span> | ||
New York | ||
|
@@ -184,7 +192,8 @@ <h1 class="hero-headline"> | |
class="checkbox-input" | ||
type="checkbox" | ||
id="checkbox1" | ||
required /> | ||
checked /> | ||
|
||
<label class="checkbox2-label" for="checkbox1"> | ||
<span class="checkbox-icon"></span> | ||
J'ai lu et accepté les conditions d'utilisation. | ||
|
@@ -204,11 +213,15 @@ <h1 class="hero-headline"> | |
class="button" | ||
value="C'est parti" /> | ||
</form> | ||
<div id="sendMessage">Merci ! Votre réservation a été reçue.</div> | ||
<div class="modalSendMessage"> | ||
<div id="sendMessage">Merci pour votre inscription</div> | ||
<div class="button buttonModalSendMessage">Fermer</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
|
||
<footer> | ||
<p class="copyrights">Copyright 2014 - 2022, GameOn Inc.</p> | ||
</footer> | ||
|
Oops, something went wrong.