Refreshing JavaScript skills with a simple puzzle game

It's been a long time since I last used JavaScript for a project, so this summer I tried again, and this is the result: a simple puzzle game! 🧩🌸 What started as "let me refresh my JavaScript skills" turned into a full-featured interactive game with drag-and-drop mechanics,animations, and sakura theme. What I Built: - Drag & drop interface using HTML5 API - Custom animated victory modal (because winning deserves celebration!) - Random shuffle algorithm - Automatic win detection The Challenge: My biggest hurdle? Path resolution! The browser converts relative paths to absolute ones, so comparing image sources became tricky. After some debugging and console.log sessions, I learned to extract filenames for comparison instead of full paths. Tech Stack: Just the classics - HTML, CSS, and vanilla JavaScript. No frameworks, no libraries. Sometimes going back to basics is the best way to truly understand what's happening under the hood. What I Learned: - DOM manipulation is still super powerful - Event handling in pure JS is actually quite elegant - CSS animations can create amazing effects without JavaScript - Debugging skills never go out of style The best part? Rediscovering the joy of building something interactive from scratch! Want to try it? Code available on GitHub: [https://lnkd.in/dZnqXAX6] Question for you: What's a skill you've revisited after a long break? Did it feel like riding a bike or learning from scratch? #JavaScript #WebDevelopment #CodingJourney #FrontendDevelopment #VanillaJS #HTML5 #CSS3 #InteractiveDesign #WomenInTech #ProjectShowcase #BackToBasics

  • treemap chart

To view or add a comment, sign in

Explore content categories