When I try translate(-50%, -50%) it does not work. This brings it somehwat in the middle: Do you know why? i{ font-size: 50px; position: absolute; cursor: pointer; top: 50%; bottom: 50%; transform: translate(1500%, 50%); }
hy dear its not working ,it show error in js and when i click to switch in drak mode no js apply even i follow all your step and source code but its not working. tell me what i should i do now
So quick and straight to the point and very well done video. Thank you!
You make JavaScript easy to understand and create projects
Thank you😊
awesome and useful, thank you!! it really helped me in my project
Glad it helped!
Awesome explanation bro
Glad you liked it
Hi, thank you fOr this video. Is there a way to integrate this to Wordpress?
Tell me buddy, what theme do you have installed? I like the color of the syntax in your javascript. Write down what plugin?
Hi bro, is one dark pro theme.
Thanks for sharing!, i really help me in my project
Most welcome!
Brilliant! Thank you.
My pleasure, thanks too!!
This is good for two elements website. If you wanna use it for complex site it's useless.
Thanks a bunch!
Very helpful.
My pleasure, glad to hear that is helpful!
Thank you!
Good way of explaining.
New subscriber
Thanks for the sub!
Thanks my brother
My pleasure!!
It's helped ❤
thank you
good content like always ! ✨👑
Thank you 🙌
I love yoy ❤🔥
When I try translate(-50%, -50%) it does not work. This brings it somehwat in the middle: Do you know why?
i{
font-size: 50px;
position: absolute;
cursor: pointer;
top: 50%;
bottom: 50%;
transform: translate(1500%, 50%);
}
thank you bro
The code ran except of the background colour which you mentioned.Can you help by saying what might went wrong?
Thanks I like your content sir
Thanks and welcome
help me when i toogle to dark mode my body part text are all white but navbar text are in black color so i cant see them how to fix that
Hi bro, what's the error message ??
@@CodeCreativeYT when i turn dark mode my navbar brand and link are also black and i cannot see them in dark mode
pls put link you get in bootstrap because I can't find it.Thank You
thanks
You're welcome!
great
good one
Thanks
welcome bro
good job
JS looks complicated until you explain each line of code. 🙌🏼
Create a VS Code Extension of you Pseudo coding…
Is it possible in android?
Its showing cannot read property of toggle
How do we implement the local storage here? Thanks
const DarkMode = document.querySelector(".toggle");
const enabledarkmode = ()=>{
document.body.classList.add("darkmode");
localStorage.setItem("darkmode","active");
};
const disabledarkmode = () => {
document.body.classList.remove("darkmode");
localStorage.setItem("darkmode",null);
};
localStorage.getItem("darkmode") === "active" ? enabledarkmode() : "";
DarkMode.addEventListener("click",()=>{
localStorage.getItem("darkmode") === "active" ? disabledarkmode() : enabledarkmode();
});
❤❤
hy dear its not working ,it show error in js and when i click to switch in drak mode no js apply even i follow all your step and source code but its not working. tell me what i should i do now
Hi, bro. ok when you like your javascript file from html
what you have to do is like this below
this way they will load the js first then next html, ok
How do I make it permanent change? I mean I want the change should be saved and when I refresh or reopen the page it should open with the new theme.
You can use localstorage
@@oxy-5313 Do you have any tutorial on how to use localstorage for this purpose?
is it working
Where bi moon img?
in my code i used src to change image but the code is note working
please check the correct path
When reload it returns to light mode🥲
sir can i download your JavaScript book, in your github?
Yes, you can
Do we have to always toggle to get dark mode?
Ya
written same code but its not working i tried for the second time but no
Hi, can you show me your error message please?
Jarvis ka source code de do bhai please
help me, it doesn't work 🤦🏾♂
Hi, what is the error message you got?
help me ,pleace
Hi, bro. yes I'm happy to help
He
😓😓wtf
It really work on all break point..?? 🥲🥲