dimanche 26 septembre 2021

How to change html background color using django code

I was doing a project and I was wondering, I wanted to make a button in HTML which would be controlled in the Django views.py. So basically when someone clicks on the button the background becomes dark and it gets saved, what I mean is if the person refreshes the page the background will still be dark. I wanted to know if it was possible to do it.

Thanks.




Aucun commentaire:

Enregistrer un commentaire