@CodeWithAlaminSubmitted over 1 year ago
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
My first Junior project with Javascript. Open to feedback! 😊👍
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
try display:grid; place-items:center;
for display:flex; justify-content:center; align-items:center;
thanks
Any feedback is welcome
if u use d-grid u have just a few lines of code less than now