Created
February 28, 2017 23:11
-
-
Save outoftime/946f91052a49538aa040309142e08778 to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=946f91052a49538aa040309142e08778
This file contains 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>My first If statment</title> | |
</head> | |
<body> | |
<h1></h1> | |
</body> | |
</html> |
This file contains 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 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
//Change the code below so that the IF statement is no longer true. | |
var n = 1; | |
if (n < 2) { | |
$("h1").append("The statement is true!"); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment