DEV Community

Cover image for Wheel of Fun
Konark Sharma
Konark Sharma

Posted on

Wheel of Fun

Frontend Challenge CSS Art Submission

This is a submission for Frontend Challenge: Office Edition sponsored by Axero, CSS Art: Office Culture.

๐ŸŽก Inspiration

Office breaks can get dull fast โ€” especially when everyoneโ€™s on a different schedule and youโ€™re stuck deciding what to do in your 5โ€“10 minutes of free time.
I often found myself staring at my desk wondering: Should I grab coffee? Take a walk? Distract my friend?
So I created Wheel of Fun โ€” a playful spin wheel built with HTML, CSS, and a touch of JavaScript to help me (and hopefully you) add a spark of randomness to boring office breaks.

Whenever you have a free moment, just spin the wheel โ€” itโ€™ll pick a small fun task to recharge your brain and make break time feel like a mini celebration.

Demo

Live Demo: Try the Wheel of Fun
Code: View on GitHub
Demo Pic

Journey

I built this simple project to showcase how CSS can create playful, interactive art โ€” not just static designs.
I used pure HTML, CSS for styling the wheel, lights, and animations, and added a small JS logic for spinning, confetti, and a playful modal pop-up to display what you won.

I loved experimenting with:

  1. CSS transforms for the wheel and bulbs
  2. Smooth rotations and easing for realistic spins
  3. A colorful, carnival vibe to bring a bit of joy to the office desk

Through this, I reinforced my CSS fundamentals, improved my eye for interactive UI details, and had fun turning a tiny idea into something shareable.

Next, Iโ€™d love to expand it by adding more random activities, themed wheels, or even office in-jokes to make break times even more personal and fun.

Feel free to fork it, remix it, or spin it your way!

Thanks for reading โ€” and happy spinning! ๐ŸŽ‰โœจ

Top comments (0)