...

>

Updating Song Ratings

Updating Song Ratings

You’ll learn to update the song's rating on the backend in this lesson.

Adding an action handler

The current action that handles clicking a star is dead-simple: it just updates the song’s rating using the set template helper. We’ll need to make it more complicated because it needs to update the song’s rating on the backend, too. This means we’ll have to write an action handler function and make the following changes in the code: ...

Access this course and 1800+ top-rated courses and projects.