Relative Content

Tag Archive for javascripthtmldjango

Liking songs in my music website not working Django app

I’m making a music stereaming website with Django and i’m struggling with adding a song to liked songs. I have a {% for % } that cycle all the songs and when i click the hearth button i want the song to be added to liked songs. How can i fix it?

Javascript function to play songs not working Django app

i’m making a music streaming website and i have this js function that plays the songs on a single player onclick. the songs are playing correctly but when i click on them the player thakes always the song name, the song artist and the song image of the first song, also if i click on the others. how can i fix that?

Django “<!DOCTYPE "… is not valid JSON quickview modal

I am trying to build an e-commerce website where I want users to be able to see a product quickview a product without going to the product_detail page. So I want to dynamically load all product details on a quickview modal. Can anyone help me with these errors? Thanks in advance!