Project to submit · JavaScript and React course · Module 3: State and Events

Project: Comprehensive Martian Colony in React

Create a Martian colony application using the techniques from this module. The project should include: several independent useState states for the colony systems (atmosphere, power, communications), buttons with event handlers and min/max limits, a controlled colonist registration form with validation and e.preventDefault(), a colonist list updated without mutation (spread, map, filter), state lifted to a common parent that passes data down through props and state-changing functions through callbacks, and an event log that every panel writes to. The application should show that you can manage state and events - in the next module you will learn the Context API, which makes passing data through many component levels easier.

Task

Send your mentor the link to your React Martian colony together with a short description of the state flow (which component holds which state) and a list of the events you handle.