Why isn’t my code working?
Hi @codeofdreams, double check the syntax of the setTimeout call. Pay close attention to the parenthesis placement.
Could you explain? i’m not sure I understand @robertgroves .
Examine the line of code shown below. It is invalid. If you fix it I believe the code will work the way you intend.
setTimeout(() => {
square.remove()
}), 5000
Haha! Got it! Thank you. It looks wonderful now!