☑Kizspy.me
.
The customer searches for the product they want to review and clicks the "Add
New Review" button to add it to the Review details container. For each selected
product, information in the Review details container will be displayed accordingly.
When clicking the "Send Review" button:
o Validation: Show error messages if the Reviewer name, Comment is blank.
。 The review information, including: the Reviewer name, Comment, Rating,
and Date (get current date), will be saved to products via the API: PATCH
(or PUT)
http://localhost: 9999/products/:id
o Show a success message.
Figure 3: Validation the Reviewer name and Comment
Zoom
+ 100%
Close