Wednesday, January 23, 2019

Indent For loops

https://classflow.com/activfoundation/resource/downloadResourceFile?resourceId=a61cdf6fbb584d8c863515d24ab0745c&resourceFileType=CONVERTED Google Classroom
Question of the Day Form



What is a For Loop? Why do you need to indent your code in a for loop?



https://classflow.com/activfoundation/resource/downloadResourceFile?resourceId=ba7160ab334f47cea8dfcbfe4500cf68&resourceFileType=CONVERTED
Google Classroom  
Question of the Day Form


What is a For Loop? Why do you need to indent your code in a for loop?
Karel Textbook
for (statement 1; statement 2; statement 3) {
  // code block to be executed}
Statement 1 is executed (one time) before the execution of the code block.
Statement 2 defines the condition for executing the code block.
Statement 3 is executed (every time) after the code block has been executed. 
What can you do when a text is hooked in a <span> element?

<head>
  <link rel="stylesheet" type="text/css" href="style.css">
</head>

No comments: