Alamin• 2,000
@CodePapa360
Submitted
My first Junior project with Javascript. Open to feedback! 😊👍
- Bonus: Dark Mode toggle
- Bonus: See the age numbers animate to their final number when the form is submitted
@A-SED-HASAN
@CodePapa360
Submitted
My first Junior project with Javascript. Open to feedback! 😊👍
@A-SED-HASAN
Posted
for toggle set a funct that toggle this class to the root means=> document.documentElement.classList.toggle('dark-mode') .dark-mode{ ex: --white:#000 }
for animating number you must use setInterval check this method and plus one in 1ms
its animating
@nandahn
Submitted
@A-SED-HASAN
Posted
try display:grid; place-items:center;
for display:flex; justify-content:center; align-items:center;
thanks
@tigeryash
Submitted
Any feedback is welcome
@A-SED-HASAN
Posted
if u use d-grid u have just a few lines of code less than now