OVERVIEW:
Added a file explorer! Sorry for the three days wait, but this is a bigger app than normal. it allows you to create file structures and files. Currently the only file you can open are .txt files, however. These .txt files open in the notepad. Find the secret file and decode it for a surprise!
NEXT STEPS:
- Add editing .txt files and saving them with file explorer
- prepare to ship
- Terminal commands update
CHALLENGES:
- The biggest reason it took this long to make the app was that I had to redo the entire code for opening folders and files. I had it set so every click it would re-render the explorer (makes sense in my head). The rendering resets the DOM and makes the original element you click on a new identical element. However, to open a file you need to double click it. This wasn’t working, and it took my a bit of research to find out why. The way HTML decides if something is a double click is if you rapidly click the same element twice. Resetting the DOM meant the this element would change every click. So, I had to redo the system to only render when necessary, which required a significant overhaul of the javascript
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.