Commit 820ed583 authored by Knut Aasgaard Kirkhorn's avatar Knut Aasgaard Kirkhorn
Browse files

Fix typo

parent 34b40f02
Pipeline #50441 canceled with stages
......@@ -24,7 +24,7 @@ In this solution it is used both local storage and session storage.
Local Storage was used to store favorited exhibition combinations. The `localStorage` stores its data in the web browser between each session of the web browser. To favorite a combination its added a star in the top right corner of a exhibition. If the user clicks twice it will not be favorited anymore. The website is implemented so that the user can view all its favorited exhibitions by clicking a button and open a modal. This opens a similar view to the main exhibition view, but its content is just the favorited combinations. When removing a combinations from the favorites it will be removed from `localStorage` aswell.
### Session Storage
Session Storage was used to store the recently loaded exhibtion content (as a cache). This made it possible to not fetch all resources every time they was needed. Algough the browser have a built in cache when fetching these files, this was implemented as a challenge and to use the `sessionStorage`. The `sessionStorage` does only keep its data in each session of the webbrowsers tab of the website. This makes it much more usefull for something that one does not need to keep over a longer time (e.g. cache).
Session Storage was used to store the recently loaded exhibition content (as a cache). This made it possible to not fetch all resources every time they was needed. Algough the browser have a built in cache when fetching these files, this was implemented as a challenge and to use the `sessionStorage`. The `sessionStorage` does only keep its data in each session of the webbrowsers tab of the website. This makes it much more usefull for something that one does not need to keep over a longer time (e.g. cache).
## Node.js and NPM
This project is created using Node.js and uses the NPM (Node Package Manager) for knowing which version of each dependency of the project. This is stated in the `dependencies` and `devDependencies` in the `package.json` and the `package-lock.json` files. To create and develop this project/repository, it was used the package `create-react-app`.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment