compare-shirts's People
compare-shirts's Issues
User Story: As a user I need to view the shirts.
Design Shirts Component
Fix Bugs
Setup
- File structuring.
- Setup React App (Hello World!).
User Story: As a user I need to view the shirts comparison table (by price).
Select Shirts on Click
- Create body as a container instead of app.
- Create function in the body to handle click on the Shirt component.
- Pass the selectShirt function to Shirts component.
- Pass the selectShirt function from Shirts to each Shirt (in properties).
- Use the function selectShirt in Shirt component (onClick).
User Story: As a user I need to check shirts to compare it.
Header Component
create header component
User Story: As a user I need to remove shirt from comparison table.
Design Table
Design Table of comparison.
Shirts Component
- Create Shirts compoenent.
- Create
src/shirtList.json
file (contains list of shirts objects). - Use Shirt component to render the Shirts list of cards.
Shirt Component
- Create Shirt component class in
src/Shirt/shirt.js
. - Create Shirt component html and use class props.
- Add css code to add simple style to the shirt card component.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.