Learn Courses My Dashboard

Lesson 10 (14 days challenge)


I’m on lesson 10 of the 14 days challenge and wasn’t sure why the code output didn’t show up in the console. I tried activating the console in the Debug Area but it didn’t work. Any advice?
I’m attaching a screenshot below.

Thanks in advance

Hi @ellieN1235, clicking the button on the preview won’t show the output on the console.

You will have to run your project first by clicking on the Play button at the upper left, or by simply pressing Cmd + R.
A simulator would show, and clicking on the button from the simulator would print the output to the console.