Skip to content

HW 3#8

Open
ryancfields wants to merge 3 commits intofrontend-application-development-uw20:masterfrom
JS300A:master
Open

HW 3#8
ryancfields wants to merge 3 commits intofrontend-application-development-uw20:masterfrom
JS300A:master

Conversation

@ryancfields
Copy link

Week 3 HW Submission

Please fill out the information below in order to complete your assignment. Feel free to update this comment later if necessary.

  • Comfort rating on this assignment (1-5): 2
  • Completion rating on this assignment: incomplete. I focused on the UI portion but was not able to integrate and render the cart.


return (
<div className="card">
{json.map((json, i) => (

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit, be more descriptive. json doesn't tell me much.

addCartItem = () => {
this.setState({
cartItems: [...this.state.cartItems, this.state.newCartItem],
newCartItem: {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we talked about, I don't think you'll need to have this here, just the cartItems and perhaps a way to add/remove from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants