StaffCoder
FR
2 modules · 8 challengesSign up
Module 2 of 2 · 4 challenges

Frontend System Design UI Component Architecture

Design the components of a booking app: a presentational card reused on every page, a controlled date picker shared by two parts of a page, one panel component with slots instead of seven copies, and a search page split into a container that owns the data and views that only render it.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

Travel Booking Listing Card

Sign up to unlock
100%1 of 1 solvedeasy
About this challenge

This problem covers building one listing card for a stay-booking app, so results, favourites and similar stays all show the same card from data the page already has instead of each fetching its own.

Solved in a browser IDE and graded by tests. Sign up to solve

Travel Booking Date Picker

Sign up to unlock
—No data yeteasy
About this challenge

This problem covers making a booking app’s date picker controlled, so the search bar and the booking widget always show the same trip instead of each keeping its own dates.

Solved in a browser IDE and graded by tests. Sign up to solve

Travel Booking Host Dashboard

Sign up to unlock
—No data yeteasy
About this challenge

This problem covers building one panel component for a host dashboard, so all seven panels share the same frame and collapse behaviour instead of being seven near-copies.

Solved in a browser IDE and graded by tests. Sign up to solve

Travel Booking Search Page

STAR
Solving it completes the module
100%1 of 1 solvedeasy
About this challenge

This problem covers splitting a stay-search page into a container and presentational views, so the list and the map show the same stays from one request and filtering never fetches again.

Solved in a browser IDE and graded by tests. Sign up to solve

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.