Task: Write a comment
Task: Write a comment
Write a component that allows a user to write a comment for a specific post
Add a button for this
See if you can implement this on the same route, rather than on a different route (for example using a modal, or appending a comment-form to the page). If this is not ideal for you, feel free to use a route.
Validate the inputs of the comment
Disable the input-fields when sending the comment to the server
Disable the submit-button when sending the comment to the server
Show a loading indicator (spinner or text) when sending the comment to the server
Ask another trainee for a review
Process any feedback you get (only if you agree with the feedback)
Finished? Ask me for a review
Please do not continue until I have finished my review
Last updated
Was this helpful?