Day 2 - Making windows draggable + z-index fix Status: Adding Interactivity spent a couple hours getting the actual OS mechanics working today. drag-and-drop took a bit of tinkering to get right. what i did today : styled all the windows, title bars, and close buttons in CSS wrote the JS event listeners (mousedown, mousemove, mouseup) so you can click and drag windows around by their headers. fixed a bug where windows overlapped weirdly by adding a zIndex counter so whatever window you click pops to the fronthooked up a real-time JS clock in the top bar. next up: finishing up the theme switcher feature so you can change the background.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.