hi, doing the contact us form lab. now not liking my textarea. and dont know why. so will paste the error.
and the code so far.
any one able to help me out.
and how to get this to work.
marvin.
ps: pasting below.
Failed:8. Within the form
, you should have a textarea
with an id
, name
, and a required
attribute.
type or paste code here
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="styles.css">
<meta charset="UTF-8">
<title>Contact Us Styled Form</title>
</head>
<body>
<div class="form-container">
<form>
<h2>Contact Us Styalized Form</h2>
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="name">Message:</label>
<textarea id="name" required>
</textarea>
<button type="submit">Submit</button>
</div>
</form>
</body>
</html>
type or paste code here