TASK: We want the user's input comment to show up on the webpage.
-
Create an input field with a class and placeholder value.
-
Declare a variable and use
.val()to store the input data in the variable.
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Page Title</title> | |
| </head> | |
| <body> | |
| </body> | |
| </html> |