Learn Courses My Dashboard

How do I create a neat Swift Playgrounds page?

Hey, y’all, this question isn’t necessarily an error, but I am going to submit my playground to WWDC 2021 challenge. I wanted to know if anyone knows how to create a page with text and all of the code hidden such as the image below. Can you please help me?

Swift