As a developer, when I go the the main.JS file there are 12 objects in the pants array , 3 models for the 4 different styles(viking, 18th century,cosplay, absurd) that looks like:
const pants = [
{model: “Valhalla”
Sizes: [s, m , l, extra large],
Style: ‘viking’,
description : “string of description”,
imgURL: “imagelink”,
Price: 56,
id: 1,
},
]
AC
WHEN the developer goes to the JS file
THEN I should see an array of pant objects
AND there should be a model name
AND there should be sizes (there should be variety where not models to not have every size available)
AND there should be a style name
AND there should be a short description string
AND there should be a urlLink to the image
AND there should be a price
AND there should be an unique id
User Story
As a developer, when I go the the main.JS file there are 12 objects in the pants array , 3 models for the 4 different styles(viking, 18th century,cosplay, absurd) that looks like:
AC
WHEN the developer goes to the JS file THEN I should see an array of pant objects AND there should be a model name AND there should be sizes (there should be variety where not models to not have every size available) AND there should be a style name AND there should be a short description string AND there should be a urlLink to the image AND there should be a price AND there should be an unique id
Dev Notes