DEVLOG #3 — JS, debugging, and deployment
wrote all the JavaScript today. boot sequence, particle system, black hole canvas, terminal, clock, and window management — drag, resize, focus, minimize, maximize, hide.
hit a critical bug almost immediately after merging the JS. duplicate sx and sy declarations inside the drag() function — syntax error that silently killed every line of JS after it. windows rendered but nothing was interactive. took a while to spot because there was no console error thrown at the right line.
fixed that along with a handful of other issues: font-weigh missing the t so the boot title wasn’t bold, .tb-icon.hover was a class selector instead of a pseudo-class so taskbar hover never fired, .dot-x was missing the dot chaining so the green maximize button didn’t work, border-class typo in the cyan badge CSS, nested .dots div inside another .dots div in the clock window breaking the titlebar structure entirely, and the canvas id was particle in the HTML but particles in the JS so the particle system never initialized.
after fixing all that, deployed to Vercel. got a 404. the file was named RishavOS.html and Vercel looks for index.html at root by default. renamed the file and pushed again — deployed clean.
live at rishav-os.vercel.app.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.