Coder Social home page Coder Social logo

jamazon's Introduction

jamazon

A website for shoppers who want to buy drums online.

jamazon's People

Contributors

thebearingedge avatar

Watchers

James Cloos avatar  avatar  avatar

jamazon's Issues

A user can view items for sale.

๐Ÿ” Motivation

Users will want to buy some drums, so we will need to list the available items.

๐Ÿ”ง Implementation

  • Project set up
    • Add initial HTML, CSS, and JavaScript files.
    • Add linter configurations.
  • Create a wire frame.
  • Create a data model of the catalog items.
  • Define a function for rendering a single catalog item.
  • Render all catalog items and append them to the DOM when the page is loaded.

user can view a list of items

A user can view the details of an item.

๐Ÿ” Motivation

Our customers may want to know more information about a given item.

๐Ÿ”ง Implementation

  • Create a wire frame
  • Include detailed item description in Data Model.
  • Listen for link clicks on the item list.
  • Identify the clicked item.
  • Find the data object for the clicked item.
  • Render the item details.
  • Hide the item list.
  • Show the item details.

user can view details about an item

A user can add an item to their cart.

๐Ÿ” Motivation

Users will want to collect items so that they can buy them all at once.

๐Ÿ”ง Implementation

  • Create a wire frame.
  • Create a data model of the shopping cart.
  • Add an "add to cart" button to the item details view.
  • Listen for clicks on the item details view.
  • Identify the clicked item.
  • Find the data object for the clicked item.
  • Add the item to the shopping cart.
  • Display the cart quantity on page load.
  • Update the cart display when an item is added.
  • Allow user to revisit item list.

user can add an item to the shopping cart

A user can checkout.

๐Ÿ” Motivation

Once a customer has finished shopping, we should collect their payment details!

๐Ÿ”ง Implementation

  • Create a wire frame.
  • Add a checkout view in HTML.
  • Define a function for calculating the cart total.
  • Listen for click events on the shopping cart icon.
  • Show the checkout view on click.
  • Listen for checkout form submission.
  • Confirm order with user on submission.
  • Reset the cart and form.
  • Show the item list.

user can checkout

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.