This is a simple project of a blog that consumes the JSONPlaceholder API to display posts and comments.
The project consists of two pages:
-
index.html: Displays a list of blog posts. Users can click on a "Read" button to view the details of a specific post.
-
post.html: Displays details of a specific post, including the title, body of the post, and comments. Users can also add their own comments.
- HTML5
- CSS3
- JavaScript (ES6+)
- JSONPlaceholder API
- Clone this repository:
git clone https://github.com/joseook/api-json-post.git-
Open the
index.htmlfile in your browser to view the list of blog posts. -
To view the details of a specific post, click on the "Read" button next to the desired post.
-
On the post details page, you can view existing comments and add your own comment by filling out the provided form.
This project was developed by joseook.