Blog Post
Description:
You are building a blog UI for a content platform. The platform stores a list of blog posts, each with a title, description (body), tags, views, and reactions (likes and dislikes).
Your task is to create a React application that displays this data in a clean, structured format using a reusable PostCard component for each blog post.
Functional Requirements:
-
Create a component named
PostCardthat accepts the following props:title(string)body(string)tags(array of strings)reactions(object withlikesanddislikes)views(number)
-
Each card should:
- Display the title and body.
- Display the number of likes 👍, dislikes 👎, and total views 👁️.
-
You are provided with the blog post data in a separate file named postData.js. Your application should import this data and display the posts accordingly.
Reference UI

Companies:
Solve Similar questions 🔥
Want to upskill? Explore our courses!
Namaste DSA
Master DSA from scratch with numerous problems, and expert guidance.
Namaste React
Wanna dive deep into React and become Frontend Expert? Learn with me now!
Namaste Frontend System Design
The most comprehensive and detailed course for frontend system design.
Namaste Node.js
Wanna dive deep into Node.js? Enroll into `Namaste Node.js` now!
