INTERMEDIATE: C300

BESTBUDS - PART3

RECAP

How to open modal in JS?

 

$("#searchresult")  . modal("show");

 

This is ID of modal to open.

Do you remember the format of JSON? Let's revise..

To add like functionality, we need to increment the Like’s count when we click the heart icon. How can we do it? Let's revise..

1. We will fetch the current likes of the post.

2. We will increment the count

3. Using the PATCH method we will update count in the database.

DID YOU KNOW?

Who created world's first website?

British computer scientist Tim Berners-Lee published the first-ever website.

IN THE NEXT CLASS

PROJECT

INTERMEDIATE-C300

By int whitehatjrclass

INTERMEDIATE-C300

Prince Raj

  • 104