Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!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 = 75;
- 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 = 75;
- 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>
Add Comment
Please, Sign In to add comment