formulaire

Par d-2022, il y a 4 ans


Décrivez ici votre problème ou ce que vous cherchez à faire.

"`` <form action="mon formulaire" id="infos" method="post"> <div class="form_flex"> <div class="coordonnees"> <div> <label for="name"></label> <input type="text" id="name" placeholder="Nom" name="user_name"> </div> <div> <label for="mail"></label> <input type="email" id="mail" placeholder="email" name="user_mail"> </div> <div> <label for="telephone"></label> <input type="telephone" id="telephone" placeholder="telephone" name="user_telephone"> </div> </div> <div class="message"> <label for="msg"></label> <textarea id="msg" placeholder="message" name="user_message"></textarea> </div> </div> <div class="button"> <button type="submit">Envoyer</button> </div> </form> <input type="button" id="bouton" value="Dis m'en plus"> ----css---- form{ width: 100%; height: auto; margin:0 auto; padding: 0; display: block; } .form_flex{ width: 72%; height: auto; margin: 0 auto; display: flex; justify-content: space-between; } .coordonnees, .message{ width: 48%; } .coordonnees div{ width: 100%; margin-bottom: 30px; } .coordonnees div input{ width: 100%; height: 50px; } .message textarea{ width: 100%; height: 210px; } .reseauxsociaux{ width: 30%; height: auto; margin: 0 auto; } .button{ text-align: center; } .button button{ padding: 10px 40px; background-color: #FFC800; opacity: 80%; color: white; font-weight: 700; } ``" **Ce que je veux** Y a t'il d'autres manières de créer un formulaire svp ? **Ce que j'obtiens** Décrivez vos éventuelles erreurs ou ce que vous obtenez à la place de ce que vous attendez :(

Aucune réponse