Here is a possible solution to our console.error exercise. You were asked to use console.error to display:

1️⃣ An error that a pizza burned

2️⃣ An error that a pizza had run out

console.error('The pepperoni pizza burned!');
console.error('The hawaiian pizza ran out!');

Stackblitz Solution


I finished! On to the next chapter