Devlog #2 of Inkwell Big milestone today! 🎉 Inkwell can now create files dynamically instead of relying on hardcoded HTML.I built a workflow where creating a new file opens the editor, switches to writing mode, and automatically generates a new chapter button in the navigation panel. I also implemented default naming (Untitled 1, Untitled 2, …) and added a Home button so I can move between the dashboard and editor without refreshing the page. The biggest challenge was dynamically creating HTML elements with JavaScript,it was my first time using such jaavascript element. I spent quite a bit of time debugging UI state (menus showing at the wrong time, navigation toggling, and figuring out why my hamburger menu disappeared which I still haven’t figured out yet), but every bug taught me something new about how the DOM actually works. Next up: making the navigation interactive so clicking a chapter loads the correct file, fixing the hamburger navigation button, and more.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.