Closed christianonoh closed 1 year ago
This pull request adds a postComment function that allows users to post comments to the API and deployComment that displays them on the page.
postComment
deployComment
id
post
Please watch a demo video of this feature here
Description
This pull request adds a
postComment
function that allows users to post comments to the API anddeployComment
that displays them on the page.Changes Made
postComment
function that sends a POST request to the API with the user's comment data.deployComment
function that sends a GET request to the API with the movieid
and displays them on the browser.post
button event listener to callpostComment
anddeployComment
to display the new comment on the page.Demo video
Please watch a demo video of this feature here