forked from prathyu116/strawberrynet06
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.js
More file actions
28 lines (22 loc) ยท 899 Bytes
/
Copy pathdata.js
File metadata and controls
28 lines (22 loc) ยท 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
let projectData = [
{image :"https://a.cdnsbn.com/images/products/250/13913408924.jpg" ,
brand : "Hair Heroes" ,
title : "Agadir Argan Oil",
desc : "Hair Treatment (Hydrates & Conditions - All Hair Types)",
price : 1544.50},
{image :"https://a.cdnsbn.com/images/products/250/14130874344.jpg" ,
brand : "Hair Heroes",
title : "AVEDA",
desc : "Color Conserve Daily Color Protect Leave-In Treatment" ,
price : 2703,
},
{image :"https://a.cdnsbn.com/images/products/250/20090999944.jpg" ,
brand : "Hair Heroes" ,
title : "CHI",
desc : "Keratin Leave-In Conditioner (Leave in Reconstructive Treatment) 177ml/6oz",
price : 888.50
},
]
localStorage.setItem("projectData",JSON.stringify(projectData));
let z = JSON.parse(localStorage.getItem("projectData"));
console.log(z);