Make an application based on a browser. The app is to edit text, it can have multiple documents open. The editor should have a vertical scrollbar and a word wrap feature. Font size should be configurable. When one opens a new document, the app should ask for a title and this title should be displayed in the title bar of the window. The app is based on the concept of a wiki.
In the editor, when one selects a word or a group of words, there should be a button to open a new part of the document, the app should save the current text in the editor, in the browser storage. Then, the app should display an empty editor, with the title which should be the selected text in the previous part, this title should be displayed in the title bar. The user can then edit this part. Thus, now, there are 2 parts of the document. The first part should display a link where the selected text was, link should bring up the second part when clicked.
The second part can be edited. Again, if one selects a word or a group of words, a new part should be added to the document as described above.
A new document can be started as well, while the current document is being edited. There should be a button for a new document and there should be one for a new part, the new part logic is as described above. The document(s) and part(s) should be auto-saved in the browser, every 30 seconds.
A navigation must be provided to navigate into the parts and out of them to reach the root part of the document. A home button should be present to navigate straight to the root part.
Finally, a save as button should be present, to save the document or more than one of them. They all should be saved one by one, by showing user the save as dialog, with the default save name as the title of the root part of the document. The parts of the document should be stored in the order in which they were added to the document. A single document, saved as a text file, should have all the parts, in the order in which they were added.
Result
“Something went wrong”.