My very own WebOS
- 1 Devlogs
- 0 Total hours
This is my very own OS that can be run in the web!
This is my very own OS that can be run in the web!
Devlog: xfheOS Development
Overview
This development log covers the recent updates that transitioned xfheOS from a static landing page into a fully interactive, web-based operating system. All features were built using vanilla HTML, CSS, and JavaScript.
Core Architecture Updates
Window Management
We implemented a custom window management system in JavaScript. The system allows users to interact with applications just like a traditional operating system.
Windows are now fully draggable across the screen using the title bar.
Added a z-index management function that automatically brings the focused window to the foreground.
Integrated standard window controls to close, minimize, and maximize application windows.
User Interface
Replaced the initial gradient backgrounds with a solid dark theme for a cleaner and more professional look.
Developed a bottom dock for quick application launching and window restoration.
Resolved a critical CSS margin collapse issue that was previously pushing the top navigation bar out of alignment.
Applications Developed
Calculator
We built a standard calculator capable of handling basic mathematical operations. The logic includes a safety mechanism to prevent common JavaScript floating-point errors by rounding the results.
Notes
Added a lightweight text editor application. This app utilizes the browser’s Local Storage API to automatically save user input, ensuring data persists across page reloads.
Web Browser
Integrated an iframe-based browser application. It allows users to view external web content directly within the OS environment.
Paint
Implemented a simple drawing tool using the HTML5 Canvas API. It features real-time drawing capabilities, custom color selection, brush size adjustments, and a canvas clear function.