Skip to content

Turn Cursor Effect on/off with a toggle switch?

I am making my portfolio website currently. I have added a flashlight cursor effect from (https://codemyui.com/flashlight-mouse-pointer/). I have also added a toggle switch from codemyui also. I am wondering if anyone knows how to link the effect & toggle together so that when I press the switch – t…

Quiz is not showing questions past question two

I am working on a JavaScript/HTML based quiz in my free time, however I have ran into an issue: It goes up to question 2 then it doesn’t show the next question, I have checked the console for any errors but there are none to be seen. I apologise that it is not the most complex code, I am still

Toggle button JS changing value in LocalStorage

I am trying to create a favourite button next to a list which a person can toggle on and off whenever he wants and store a value inside the localstorage so it will be saved on refresh. How would I create a button which when clicked it will turn yellow and update the localstorage to “favourite”: Tr…