0
How to make toggle switch html?
I want to make a toggle switch, using that switch I want to change the values of input tag so that whenever I click on that switch it turns on and set value to ON and again for OFF values
2 Antworten
+ 2
Vivek Singh Attempt it first. If you have trouble after trying to code it, then post a question here with your code attempt.
Hint: you'll need to use an event handler (or event listener) to utilise the toggle logic.
+ 2
You can take some reference for understanding from here
//Use the search bar in the code snippet as well for finding any code
https://code.sololearn.com/WDV7H2nAkAHb/?ref=app