MagNorthDigital
Expert Member
Firstly, is your "lecturer" an ex-mechanic, cause those prices are from the 90s.
Secondly. How on this green earth are you suppose to serve content without a server.
Either you are ill informed or your "lecturer" is. This is a web site, not a text file.
Have you considered a low tech solution, and just parsing the text using json, on change / input
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
And finally, you need to parse strings out of session storage, you are dealing with a string, not an object, and use a try catch please.
Secondly. How on this green earth are you suppose to serve content without a server.
Either you are ill informed or your "lecturer" is. This is a web site, not a text file.
Have you considered a low tech solution, and just parsing the text using json, on change / input
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
And finally, you need to parse strings out of session storage, you are dealing with a string, not an object, and use a try catch please.