🚀 JavaScript Mini Project – OTP Generator with Even/Odd Check Built a small JavaScript project that generates a random 4-digit OTP using Math.random() and displays it dynamically on the web page. 🔹 The OTP is checked using conditional logic 🔹 If the OTP is Even, the circle turns purple 🔹 If the OTP is Odd, the circle turns red 🔹 Used HTML, CSS, and JavaScript DOM manipulation This project helped me understand: Random number generation if–else conditions DOM access using getElementById Dynamic style changes with JavaScript Small steps, but building confidence every day 💪 Learning by doing is the best way forward. #JavaScript #HTML #CSS #DOM #WebDevelopment #LearningJourney #MiniProject #FrontendBasics

To view or add a comment, sign in

Explore content categories