Several props and a default
Your task In the code box, finish ProductCard({ name, price, stock = 0 }): an <h2> with the name, a <p> with the price like $39.50, and a <p> like 12 in stock. Then press Run my code.
Getting the editor ready
Your task In the code box, finish ProductCard({ name, price, stock = 0 }): an <h2> with the name, a <p> with the price like $39.50, and a <p> like 12 in stock. Then press Run my code.
Getting the editor ready