Can you please help me.i'm a beginner.
I'm trying to implement dark mode in my website. so I Made a function where if I click a button it will switch to dark theme which worked but only for a single page even though I used the script source tag in other html files where I want to happen.
what I want to do is when a user goes to setting and clicks the dark button the dark theme should apply to every html files.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Can you please help me.i'm a beginner.
I'm trying to implement dark mode in my website. so I Made a function where if I click a button it will switch to dark theme which worked but only for a single page even though I used the script source tag in other html files where I want to happen.
what I want to do is when a user goes to setting and clicks the dark button the dark theme should apply to every html files.