This project is a demonstration of using vanilla JavaScript to interact with REST APIs. It fetches and displays posts, user information, and comments from the JSONPlaceholder API. The application also features enhanced styling and error handling for a better user experience.
- Fetch Posts: Retrieve and display posts from the JSONPlaceholder API.
- Display User Information: Show user details (name and email) for each post.
- Post Details View: View the full details of a post, including comments, upon clicking.
- Styling Improvements: Enhance the visual appeal of the page with CSS styling for a better user interface.
- Error Handling: Properly handle and display errors to the user.
- HTML
- CSS
- JavaScript (ES6)
- JSONPlaceholder API
- Clone the repository.
- Open
index.html
in your web browser to explore the application.
Contributions are welcome! Fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License.