Documenting my learning journey โ this is a course project, not my original idea.
๐ Introduction
Today, I began working on the Eat-N-Split project from my React course.
This small practice app is designed to help learners understand some essential React concepts such as conditional rendering, component structure, and state management.
Iโm sharing my progress here to document what Iโm learning โ not to claim the concept or UI as my own. This project is part of the curriculum Iโm following.
๐ฏ What the Project Teaches
Eat-N-Split is a simple bill-splitting mini-app where you:
- Display a list of friends
- Show who owes whom
- Select a friend
- Split a bill
- Update balances
Even though the app is small, it touches several important concepts that every React developer must master:
โ Components & Props
โ Mapping Lists to UI
โ Conditional Rendering
โ Handling State (useState)
โ Forms & Controlled Components
โ Clean UI Logic
๐งฑ Day 1 Progress: Friend List UI
In this first step, I focused only on the friend list.
Each friend in the list contains:
- a name
- an avatar
- a unique ID
- a balance (positive, negative, or zero)
Then I used a simple conditional rendering pattern for the balance:
if balance < 0 โ "You owe them"
if balance > 0 โ "They owe you"
if balance === 0 โ "You are even"
This part helped me better understand how to display different UI states based on dynamic data.
๐ก What I Learned Today
Even though this is just the starting point, it helped me strengthen some fundamentals:
๐น How to structure a component cleanly
๐น How to loop through arrays to render UI
๐น How to keep logic readable inside JSX
๐น How simple conditions can control the entire user interface
These concepts show up everywhere in React, even in advanced apps, so practicing them is extremely valuable.
๐ฎ Whatโs Coming Next?
According to the course roadmap, the upcoming steps will include:
โ Selecting a friend
โ Adding a new friend
โ Splitting a bill
โ Updating the balance using useState
โ Making the interface fully interactive
Iโm excited to continue building the app and improving my understanding of Reactโs data flow and state logic.
๐ Final Thoughts
Iโm enjoying this project because it combines simplicity with practical hands-on React experience.
Iโll keep sharing my progress as I complete each module of the course.
If you're also learning React, this project is a great exercise to strengthen your fundamentals.
Top comments (0)