Skip to content

Commit be8a163

Browse files
committed
Update README.md
1 parent 063ab6f commit be8a163

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -595,13 +595,13 @@ The defer attribute tells the browser to only execute the script file once the H
595595
<b><a href="#">↥ back to top</a></b>
596596
</div>
597597

598-
## Q. Describe the difference between a `cookie`, `sessionStorage` and `localStorage`?
598+
## Q. Describe the difference between a cookie, sessionStorage and localStorage?
599599

600-
* ```cookie```: A text file saved on the users computer to store and retrieve data
600+
**1. cookie:** A text file saved on the users computer to store and retrieve data
601601

602-
* ```sessionStorage```: Is memory space in a browser to save temporary data until the window or tab is closed.
602+
**2. sessionStorage:** Is memory space in a browser to save temporary data until the window or tab is closed.
603603

604-
* ```localStorage```: Like cookie, where data can be saved and retrieved after browser sessions, but stored in memory like sessionStorage. Data is stored as plain key value pairs and can be stored as Json objects.
604+
**3. localStorage:** Like cookie, where data can be saved and retrieved after browser sessions, but stored in memory like sessionStorage. Data is stored as plain key value pairs and can be stored as Json objects.
605605

606606
| | `cookie` | `localStorage` | `sessionStorage` |
607607
| -------------------------------------- | -------------------------------------------------------- | -------------- | ---------------- |

0 commit comments

Comments
 (0)