Skip to content

Commit

Permalink
🚧 test 10
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcusey committed Jun 12, 2024
1 parent f295443 commit 9f28bc8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 29 deletions.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function checkFormValidity() {

//--Hårdkodat sprayburkar/produkter--//
const sprayCans = [
{ id: 1, name: 'CanCan in Sunset', price: 100, image: {src:'./assets/pictures/orange.jpg', alt: 'Spray Can 1 Image'}, amount: 0, stars: 4, category: 'light' },
{ id: 1, name: 'CanCan in Sunset', price: 100, image: {src:'assets/pictures/orange.jpg', alt: 'Spray Can 1 Image'}, amount: 0, stars: 4, category: 'light' },
{ id: 2, name: 'Yellow Mr. Sunshine', price: 120, image: {src: 'assets/pictures/yellow.jpg', alt: 'Spray Can 2 Image'}, amount: 0, stars: 3.5, category: 'light' },
{ id: 3, name: 'Red Rush ', price: 140, image: {src: 'assets/pictures/red.jpg', alt: 'Spray Can 3 Image' }, amount: 0, stars: 5, category: 'light' },
{ id: 4, name: 'Pink that Party', price: 110, image: { src: 'assets/pictures/pink.jpg', alt: 'Spray Can 4 Image' }, amount: 0, stars: 4.5, category: 'pastel' },
Expand Down
28 changes: 0 additions & 28 deletions styles/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -401,32 +401,4 @@ body {
text-align: center;
font-size: 1.2rem;
}
// BILDER
.spray-can-1 {
background-image: url('./assets/pictures/orange.jpg');
}
.spray-can-2 {
background-image: url('./assets/pictures/yellow.jpg');
}
.spray-can-3 {
background-image: url('./assets/pictures/red.jpg');
}
.spray-can-4 {
background-image: url('./assets/pictures/pink.jpg');
}
.spray-can-5 {
background-image: url('./assets/pictures/fusia.jpg');
}
.spray-can-6 {
background-image: url('./assets/pictures/chrome.jpg');
}
.spray-can-7 {
background-image: url('./assets/pictures/blue.jpg');
}
.spray-can-8 {
background-image: url('./assets/pictures/darkblue.jpg');
}
.spray-can-9 {
background-image: url('./assets/pictures/green.jpg');
}
}

0 comments on commit 9f28bc8

Please sign in to comment.