Edit ─ Improve contact form structure and accessibility | Add ─ Subject select field and reset button | Add ─ HTML5 validation attributes and placeholders | Edit ─ Email input type from text to email
This commit is contained in:
1 file changed
+30
-11
+30
-11
@@ -59,18 +59,37 @@
|
|||||||
<div id="start"> </div>
|
<div id="start"> </div>
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
<div class="grid-item one">
|
<div class="grid-item one">
|
||||||
<img src="../public/images/author/pfp.webp" alt="">
|
<img src="../public/images/author/pfp.webp" alt="Photo de profil de NoCode">
|
||||||
<div class="right-text contact">
|
<div class="right-text contact">
|
||||||
<form>
|
<form action="#" method="post" novalidate>
|
||||||
<label for="text-email">Email :</label>
|
<h3>Une question ? Une suggestion ?</h3>
|
||||||
<input type="text" name="email" id="text-email">
|
|
||||||
<label for="text-handlename">Handle Name :</label>
|
<label for="text-email">Email <span class="required">*</span></label>
|
||||||
<input type="text" name="Handle Name" id="text-handlename">
|
<input type="email" name="email" id="text-email" placeholder="exemple@domaine.com" required autocomplete="email">
|
||||||
<label for="text-message">Message</label>
|
|
||||||
<textarea name="text-message" id="text-message"></textarea>
|
<label for="text-handlename">Handle Name <span class="required">*</span></label>
|
||||||
<label for="check"> Possedez-vous un Compte :</label>
|
<input type="text" name="handle-name" id="text-handlename" placeholder="VotreHandle" required minlength="3" maxlength="30" autocomplete="username">
|
||||||
<input type="checkbox" name="" id="check">
|
|
||||||
<input type="submit" name="" id="sub">
|
<label for="select-subject">Sujet</label>
|
||||||
|
<select name="subject" id="select-subject">
|
||||||
|
<option value="question">Question</option>
|
||||||
|
<option value="suggestion">Suggestion</option>
|
||||||
|
<option value="bug">Signaler un bug</option>
|
||||||
|
<option value="other">Autre</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<label for="text-message">Message <span class="required">*</span></label>
|
||||||
|
<textarea name="message" id="text-message" placeholder="Votre message..." required minlength="10" maxlength="1000"></textarea>
|
||||||
|
|
||||||
|
<div class="check-line">
|
||||||
|
<input type="checkbox" name="has-account" id="check">
|
||||||
|
<label for="check">Je possède un compte Star Citizen</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-actions">
|
||||||
|
<input type="reset" id="reset" value="Effacer">
|
||||||
|
<input type="submit" id="sub" value="Envoyer">
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user