ZohalMirkhel / space-travelers

Final group project of React
https://space-travelers-henna.vercel.app
0 stars 0 forks source link

Pages Setup (Individual-Task) - [4-6H] #10

Closed ZohalMirkhel closed 1 month ago

ZohalMirkhel commented 2 months ago

Walwala Safi: Rockets Page

Task Description:

Tasks:

  1. Create Rockets Page Component:

    • Create a new file Rockets.js in the components folder.
    • Set up the basic structure and styling for the Rockets page.
  2. Implement Reservation Functionality:

    • Add functionality to allow users to reserve a rocket.
    • Add functionality to cancel a reservation.
    • Display "reserved" status next to the rocket if it is reserved.
  3. Manage State:

    • Use React state to track reserved rockets.
    • Implement functions to handle reservation and cancellation.
  4. Integrate with Backend (If applicable):

    • Ensure that the reservation and cancellation actions are properly communicated to the backend if necessary.
  5. Testing:

    • Test the reservation and cancellation functionality to ensure it works as expected.