The <textarea>
is used for text that takes up more than one line. In this exercise, you'll add a form with a <textarea>
for someone to leave their comment. Follow the steps below to complete this exercise.
- Find the line that says
<!-- Your comment form goes here -->
in this exercise'sindex.html
file. - Add a
<form>
with aGET
method. You do not need to add anaction
attribute to this form. - Add a
<textarea>
field that is namedcomment
. - Don't forget to add a
<label>
so that users know what the field is for. - Add a
<button>
that says "Send Comment".
When you're done, it should look like this.