nss-evening-cohort-12 / pants-trousers

pants-trousers created by GitHub Classroom
0 stars 2 forks source link

Super Sale #1

Open JeremiahV93 opened 4 years ago

JeremiahV93 commented 4 years ago

User Story

As a user, when I view the super sale section on the home page I will see a model of trousers with a sale price

AC

WHEN the user views the super sale section on the home page THEN I should see a sale AND there should be a picture, name and sale price of the trough Super sale card

Dev Notes

This should be a print to dom function(superSale), that chooses a random object of trousers to display (name, image, and price) the function will also reduce the price by 20% before printing to the dom. Local var for a function that takes the object price and reducing it before adding it to the dom.

luketlancaster commented 4 years ago

need a wireframe for this

also fix some of the typos in the card 🙃