Challenge: Using Placeholder
Challenge yourself by updating the comments template to display a placeholder value in the textarea.
We'll cover the following
Problem statement
Placeholder values can be helpful to nudge users towards a specific action. In addition to clearing the textarea after a user adds a comment, see if you can update the textarea with a placeholder value to direct them so.
Playground
Below is your updated code. Modify it to implement the functionality mentioned in the problem statement.
Get hands-on with 1400+ tech skills courses.