To create a search box to display products using React
BBefore start, Strongly recommend that learn this below first
some reference
Make sure you have the latest packages installed
npm i
Note: If you don't have npm
installed, make sure you have
node installed.
You can run your app using npm start
. This will start a
server on http://localhost:8080
and open a browser to this location.
Any modification on the html, css, scss or javascript will be detected and the page on the browser will be reloaded automatically
This application uses webpack to load the various modules in the app folder. However, upon build, all of these files are concatenated and minified together to create a small, compressed javascript file.
-
Display product category in the table.
-
Display products name and price in the table
-
Display products that not in the stock in red color.
-
Set the checkbox status checked by default.
-
Only display the products in the stock by default.
-
Make the checkbox clickable.
-
Pass the status of the checkbox to the filterable-product-table.
-
Display the products that in the stock when checkbox is checked.
-
Display all the products when checkbox is unchecked.