fake data for e commerce website code example
Example: fake data for e commerce website
fetch('https://fakestoreapi.com/products')
.then(res=>res.json())
.then(json=>console.log(json))
fetch('https://fakestoreapi.com/products')
.then(res=>res.json())
.then(json=>console.log(json))