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
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.
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
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.