https://github.com/andrewhamerly/blog
Used to record and store personal journal entries by the author to reflect on later.
https://github.com/andrewhamerly/blog
css front-end frontend html javascript local-storage localstorage web-api
Last synced: 2 months ago
JSON representation
Used to record and store personal journal entries by the author to reflect on later.
- Host: GitHub
- URL: https://github.com/andrewhamerly/blog
- Owner: andrewhamerly
- License: mit
- Created: 2024-03-11T15:22:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-18T19:41:32.000Z (about 1 year ago)
- Last Synced: 2025-01-30T01:44:11.548Z (4 months ago)
- Topics: css, front-end, frontend, html, javascript, local-storage, localstorage, web-api
- Language: CSS
- Homepage: https://andrewhamerly.github.io/blog/
- Size: 159 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blog
## Description
This project was created to explore the concepts of WEB APIs using localStorage and persistant data with blog journals.## Installation
To install this repo, simply copy the repo and use git clone in your command line along with the copied repo url with your preferred method.```bash
git clone [email protected]:andrewhamerly/blog.git
```## Usage
This can be used to record and store personal journal entries by the author to reflect on later.Link to deployed application:
[Blog](https://andrewhamerly.github.io/blog/)
## Credits
ChatGPT to help me trouble shoot and correct an error with adding multiple objects in an array to the localStorage.
This is the specific code it helped me to generate:
`let storedData = localStorage.getItem('blogContent');
let blogContentArry = storedData ? JSON.parse(storedData) : [];
if (!Array.isArray(blogContentArry)) {
blogContentArry = [];
}`## License
Source code is licensed under the MIT license.
Contents of this site are Copyright © 2024 by Andrew Hamerly.
All Content Rights Reserved.