diff --git a/Dark-Theme b/Dark-Theme new file mode 100644 index 0000000..60bdc51 --- /dev/null +++ b/Dark-Theme @@ -0,0 +1,173 @@ +πŸ†‚πŸ†ƒπŸ…΄πŸ…ΏπŸ†‚ πŸ†ƒπŸ…Ύ πŸ…²πŸ†πŸ…΄πŸ…°πŸ†ƒπŸ…΄ πŸ…³πŸ…°πŸ†πŸ…Ί/πŸ…»πŸ…ΈπŸ…ΆπŸ…·πŸ†ƒ πŸ…ΌπŸ…ΎπŸ…³πŸ…΄: + + +β€’Create an HTML Document. +β€’Create CSS for the document file as well as for dark mode. +β€’Add a switch/toggler to toggle between light and dark mode. +β€’Add functionality to the switch/toggler to toggle between light and dark mode using javascript or jQuery code. + + +# The following repository demonstrate switching between light and dark mode using JQuery code. It basically works by using functions hasClass(), addClass() and removeClass() method. + +. + ‒𝙃𝙩𝙒𝙑 π˜Ύπ™€π™™π™š 𝙛𝙀𝙧 π˜Ώπ™–π™§π™  π™π™π™šπ™’π™šβ€’ + + + + + + + + + + + + Dark Mode + + + + + + + + + + + + + + + +
+ + Dark mode: + + OFF + +
+ + + +
+ +

GeeksforGeeks

+ + + +

A Computer Science Portal for Geeks

+ + + +

Light and Dark Mode

+ + + + + + + +

+ + Click on the switch on top-right + + to move to dark mode. + +

+ + + +
+ + + + + + + + + +