Swift Playgrounds 3 (“Answers”)

This time in Swift Playgrounds, I got to write out my own code. We had to make three questions with an answer box that worked. The three questions I asked were “What is one sport that you play?”, “How often do you play that sport?” and “What do you like about that sport?” The most challenging thing was that you had to get the code exactly right or else it wouldn’t work. Even if there was one space that was supposed to be there but wasn’t, the whole thing would be messed up. It took me a lot of tries to get it right, and I finally finished it! Here is the final product:

The words in blue circles represent the words that don’t show up in the actual project. The red lines are connecting the code to the part of the project the code makes happen. Overall, it was a little challenging, but fun!

Leave a Reply

Your email address will not be published. Required fields are marked *