The app mimics a hotel search engine with a price filter. First, all the hotel options are fetched from a mock API. Then the user can filter the options by either moving toggles of the price range or changing values in the input fields. Any time the values are changed inputs, range input bar and filters are updated accordingly showing the hotels by the requested price range. It's also possible to move the bar to filter for a specific price range.
Note: The range is currently set up with "sticky" values (e.g. 10 steps) but the functionality of the app allows to switch to "non-sticky" values (by deleting "sticky" props) to offer precise price options.
React, JavaScript (JS mouse events), Async promises and fetch, Lifecycle events, TDD testing (Jest), GitHub branches, SCSS and CSS modules, Webpack, Babel, Eslint, Stylelint.
- Getting started:
- Managing price range filter with toggles
- Managing price range filter with inputs
- Managing price range filter both with toggles and inputs
- Moving the range bar and filtering hotel options