How to add a dark mode button on blogger
Description
The dark mode is one of the best features of the website.
A lot of people check the websites at night when they are free. Some of them check at bedtime also.
Therefore the dark mode is important, and one of the best things about the dark mode is that screen light doesn't hurt our eyes.
No need to find Dark Mode Blogger Templates separately, you can add them to your existing blogger template with night mode javascript.
Script Dark Mode Button
✓Step 1:
•Go to the blogger dashboard and click on Theme Section.
There you find the Edit HTML button, click on it.
•After clicking, your website HTML code will open.
•Press anywhere on the HTML code and then press CTRL+F.
•Search box is opened, type </head> in the search box and press enter.
•Place the below code above the </head> tag and press the save the theme button.
Step 2:
Now put the below code for the Dark Mode button above the </header> tag.
Click anywhere on the theme and press CTRL+F.
The search box will be opened. Search </header> on the search box and press enter.
Paste the below code above </header>
Step 3:
Now place the below code above the </body> tag.
Again search the </body> on search box and press enter. After getting </body> tag, place the below code above the </body> tag.
Now save the theme and see the dark mode button on your website.