Am I stupid tonight?

Tell us what’s happening:

Your code so far

const ShoppingCart = (props) => {
return (
    <h1>Shopping Cart Component</h1>
// change code below this line
ShoppingCart.defaultProps = { items: '0' };

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:76.0) Gecko/20100101 Firefox/76.0.

Challenge: Use Default Props

Link to the challenge:

I thought for sure that I had this. What did I do wrong?

Just remove the single quotes around the number and you’re golden.


Thank you sooo much! :+1: :slightly_smiling_face: :heart_eyes: