Skip to content

Instantly share code, notes, and snippets.

@tshivers
Created January 27, 2018 08:12
Show Gist options
  • Select an option

  • Save tshivers/669d4e2c537b8069d86f674c38a0e251 to your computer and use it in GitHub Desktop.

Select an option

Save tshivers/669d4e2c537b8069d86f674c38a0e251 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/luyuvud
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
/* Your Expression Here */
var temp = 68;
if (temp > 70) {
console.log("It is hot outside!");
} else if (temp > 50) {
console.log("It is warm outside.");
} else {
console.log("Brr! It's freezing out there!");
}
</script>
<script id="jsbin-source-javascript" type="text/javascript">/* Your Expression Here */
var temp = 68;
if (temp > 70) {
console.log("It is hot outside!");
} else if (temp > 50) {
console.log("It is warm outside.");
} else {
console.log("Brr! It's freezing out there!");
}
</script></body>
</html>
/* Your Expression Here */
var temp = 68;
if (temp > 70) {
console.log("It is hot outside!");
} else if (temp > 50) {
console.log("It is warm outside.");
} else {
console.log("Brr! It's freezing out there!");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment