In this lesson, students will deepen their understanding of functions by learning about the main function. The main function helps to organize the readability of code by creating a designated place where code that is going to be run in a program can be stored:
function main(){
turnRight();
}
function turnRight(){
turnLeft();
turnLeft();
turnLeft();
}
main();
Students will be able to:
These are all the activities included in the lesson