@hamidriaz1998
Posted
Looking good!
Regarding class toggling the toggle()
function has an optional second paramter that specifies the condition for toggling. For example,
toggle("dark", 5 > 2);
This will toggle the class if the condition is true.