Hi I'm using VSC with the React create-react-app, around half way through the first tutorial on the airbnb app.
I have tried various techniques, even dragging the images folder into the public folder, and still no activity pictures show.
Any ideas?
My app.js file imports from data.js:
import Card from "./components/Card";
import data from "./data";
function App() {
const cards = data.map(item => {
return (
<Card
img={item.coverImg}
rating={item.stats.rating}
reviewCount={item.stats.reviewCount}
location={item.location}
title={item.title}
price={item.price}
/>
)
})```
Then my data.js file:
```react
id: 1,
title: "Life Lessons with Katie Zaferes",
description: "I will share with you what I call \"Positively Impactful Moments of Disappointment.\" Throughout my career, many of my highest moments only came after setbacks and losses. But learning from those difficult moments is what gave me the ability to rise above them and reach my goals.",
price: 136,
coverImg: "katie-zeferes.png",
stats: {
rating: 5.0,
reviewCount: 6
},
location: "Online",
openSpots: 0,
}```