Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!
@johnsri Could you explain in more detail what you mean by "website control switch". What is it controlling? Do you just mean a simple button? Or a checkbox, so with 2 states? Or are you talking about what @OldMan is talking about?I'd use the Switch Statement in JavaScript to do this.
Find it here: JavaScript Switch Statement
Imo you dont need a checkbox to make a control switch.You can do it by software.
I don't think this is in any way related to your original post.Hello
How to make website in sri lanka
Code Forum is a community platform where coding enthusiasts can connect with other developers, engage in discussions, ask for help, and share their knowledge with a supportive community. It's a perfect place to improve your coding skills and to find a community of like-minded individuals who share your passion for coding.
We use essential cookies to make this site work, and optional cookies to enhance your experience.