Code Monkey home page Code Monkey logo

phase-1-final-project's Introduction

Shop Conscious

Description

Shop Conscious is a project that allows consumers to shop and compare clothing from different brands with environmental and labor practice data transparently available. Consumers can then use their knowledge of the brand along with their personal values to shop or reject different items.

Project features and requirements

Database:

  1. Database on db.json created from publicly available data
  2. Five clothing objects in each genre within the database
  3. Seven attributes per clothing object:
    • id
    • company name
    • image
    • price
    • labor score
    • environment score
    • more information about the company's score
  4. Single page app without redirects or reloads
  5. Three distinct event listeners:
    • "Change" event listens to drop down menu to return clothing from within the selected genre
    • "Mouseover" event changes the clothing card's inner html so that users can read more information about the company
    • "Click" events on both the BOO! and SAVED! button either get rid of the clothing item from the page or place the item in a wish list
  6. One instance of array method occurs when fetching data from the database. Each clothing item is iterated over and returned as a rendered clothing card

User Journey

As a user, I can:

  • Select the genre of clothing I wish to shop
  • View each item of clothing, along with its price, brand, and labor/environment score
  • Hover over each clothing card to read more information about the company
  • Get rid of the item of clothing or save the item of clothing depending on my values and knowledge

Credits and citations

Information on brands' environment and labor scores can be found here: https://goodonyou.eco/

Images come from company websites:

phase-1-final-project's People

Contributors

katiefaybehrmann avatar

Watchers

 avatar

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.