scrimba
Learn React
AirBnb clone
Project: 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: Card Component
AboutCommentsNotes
Project: Card Component
Expand for more info
components
Card.js
run
preview
console
import React from "react"

/*
Challenge: Build the Card component
For now, hard-code in the data (like
the rating, title, price, etc.)

Notes:
- Only render 1 instance (I already did this for you)
- The star icon and photo (katie-zaferes.png) are in the images
folder for your use
- Make sure to include:
- image
- star icon (star.png), rating, and review count
- title
- cost/person
- The main purpose of this challenge is to show you where our limitations
currently are, so don't worry about the fact that you're hard-coding all
this data into the component.
*/

export default function Card() {
return (
<h1>Replace this</h1>
)
}
Console
/index.html
-7:18