Created
May 9, 2017 02:26
-
-
Save jackrr/5c610e27d902e0c2a821f50d60ba022c to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=5c610e27d902e0c2a821f50d60ba022c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>For Loop part 2</title> | |
</head> | |
<body> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"enabledLibraries":["jquery"]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WE DO TOGETHER | |
// Step 1 Create a for loop | |
// Step 2 Declare the intial statement | |
// Step 3 Declare the condition | |
// Step 4 Declare the increment statement | |
// Step 5 In the body of the for loop, write the code that will append hello to the screen | |
//EXTRA PRACTICE | |
// Write another for loop that prints every other number to the screen. | |
// Hint: try changing the increment statement | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment