I’ve been diving deep into JavaScript through the Sheryians Coding School Cohort2.0, and a recent session with Sarthak Sharma Bhaiya really brought the power of functional logic to life. We explored how to move beyond static code by leveraging Math.random() and Math.floor() to create dynamic, unpredictable user experiences. To put these concepts into practice, I built a Randomized Color Paper Generator. The project is straightforward but surprisingly technical every time the "Generate" button is clicked, a new "paper" element is rendered at a random coordinate on the screen with a randomized color. This exercise was a great way to bridge the gap between basic syntax and real-world DOM manipulation. It forced me to think critically about how to target HTML elements, handle coordinate-based positioning, and use mathematical methods to ensure my logic remains clean and efficient. Sheryians Coding School Harsh Vandana Sharma Sarthak Sharma #JavaScript #WebDevelopment #CodingJourney #FrontendDeveloper #DOMManipulation #VanillaJS #CodingProject #SheryiansCodingSchool

To view or add a comment, sign in

Explore content categories