Learn Courses My Dashboard

"Cannot preview in this file" test crashed message (14 days challenge)


I’m a beginner and currently working on lesson 3 of the 14 days challenge. I’m having this issue regarding “Cannot preview in this file” test crashed message. I’m attaching a screenshot below.

Thanks in advance!


Hi Ellie,

Welcome to the community

the very last modifier you have added - cornerRadius(10) - is missing the dot in front of so that’s why the compiler is having a whammy.

All modifiers begin with a .

Chris P