Home
About
Contact
Privacy
Disclaimer
Home
Features
_Multi DropDown
__DropDown 1
__DropDown 2
__DropDown 3
_ShortCodes
_SiteMap
_Error Page
Learn Blogging
Documentation
Video Documentation
Download This Template
Download This Template
Home
Mani
April 25, 2023
Hexadecimal to Decimal Conversion Tool
Hexadecimal to Decimal Conversion Tool
Hexadecimal:
Convert to Decimal
Decimal:
Copy Decimal Value
Post a Comment
0 Comments
Social Plugin
Toggle Dark Mode
Popular Posts
Facebook
Categories
Tags
document.addEventListener('DOMContentLoaded', (event) => { const toggleButton = document.getElementById('dark-mode-toggle'); const body = document.body; // Check if dark mode was previously enabled if (localStorage.getItem('dark-mode') === 'enabled') { body.classList.add('dark-mode'); } toggleButton.addEventListener('click', () => { if (body.classList.contains('dark-mode')) { body.classList.remove('dark-mode'); localStorage.setItem('dark-mode', 'disabled'); } else { body.classList.add('dark-mode'); localStorage.setItem('dark-mode', 'enabled'); } }); });
0 Comments