Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature SearchResults #2

Open
2 tasks
RbAvci opened this issue Feb 24, 2024 · 0 comments
Open
2 tasks

Feature SearchResults #2

RbAvci opened this issue Feb 24, 2024 · 0 comments

Comments

@RbAvci
Copy link
Owner

RbAvci commented Feb 24, 2024

From React-Module-Project created by SallyMcGrath: CodeYourFuture#6

Create a table to show hotel bookings

Instructions: Create a <SearchResults /> component that shows hotel bookings in a <table> element. Each booking will have an id, title, first name, surname, email, room id, check in date and check out date. You can make up data in the <SearchResults /> component to show in the table. Then show <SearchResults /> component within the <Bookings /> component that is provided. Be sure to split out your components into small well-named components.

Hint: Look in the <Bookings /> component for how to import data from a JSON file.

AS A TEAM

This ticket is too large. Break down this ticket into smaller, well named components, just like we did with Search and SearchButton, Card and Deck, App and AppHeader.

Write your tickets and share them out. You should try to pair on this larger feature as much as you can. Use class time if you can.

Hint: You will find some useful <table> examples in the Bootstrap documentation for tables.

Test:

  • A table should render with a column for each booking attribute.
  • The table can show more than one booking.
@RbAvci RbAvci moved this to 📋 Backlog in React Module Project Feb 24, 2024
@RbAvci RbAvci moved this from 📋 Backlog to 🔖 Ready in React Module Project Mar 1, 2024
@fhkahin fhkahin moved this from 🔖 Ready to 👀 In review in React Module Project Mar 2, 2024
@RbAvci RbAvci moved this from 👀 In review to ✅ Done in React Module Project Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants