0

How to achieve this

I'm trying to implement a function like bookmark some link, when I click the icon, it will change color, when I click it again it will change back to its default color, I tried getElementById but don't know how to do the change it back bit, thanks!!

13th May 2020, 2:17 AM
Maple
1 Resposta
0
You can use hover in css for same purpose
13th May 2020, 2:27 AM
Ayush Kumar
Ayush Kumar - avatar