<html>
<head>
<title>Formularze</title>
<style>
input, textarea {
display: block;
margin: 5px 0 20px 0;
width: 200px;
}
input:invalid {
border: 1px solid red;
}
</style>
</head>
<body>
<h1>Formularz - wysyłanie</h1>
<form action="https://formspree.io/f/twój-kod-tutaj" method="POST">
<label>
Twój e-mail:
<input type="email" name="email" required/>
</label>
<label>
Twoja wiadomość:
<textarea rows="6" name="message"></textarea>
</label>
<!-- Przycisk wysyłający formularz. Zwróć uwagę, że brak adresu email
albo jego niewłaściwy format nie pozwolą na przesłanie formularza -->
<button type="submit">Wyślij</button>
<!-- Za pomocą wartości "reset" możemy wyczyścić pola formularza -->
<button type="reset">Reset</button>
</form>
</body>
</html>
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.