scrimba
Frontend Career Path
React basics
AirBnb clone
Project: pass props to card component
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Project: pass props to card component
AboutCommentsNotes
Project: pass props to card component
Expand for more info
App.js
run
preview
console
import React from "react"
import Navbar from "./components/Navbar"
import Hero from "./components/Hero"
import Card from "./components/Card"

/*
Challenge: Pass props to the Card component and display that data

- img ("katie-zaferes.png")
- rating ("5.0")
- reviewCount (6)
- country (Whatever you want)
- title ("Life Lessons with Katie Zaferes")
- price (136)

*/

export default function App() {
// <Hero />
return (
<div>
<Navbar />
<Card />
</div>
)
}
Console
/index.html
-6:55