UNPKG

workshopper-browser-guide

Version:

Create an html browser version of the exercise descriptions

93 lines (87 loc) 3.47 kB
<!doctype html> <html class="no-js" lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>learnyounode Guide</title> <meta name="description" content="learn git and github"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/css/style.css"> <link rel="stylesheet" href="assets/css/code.css"> <link href='assets/fonts/fonts.css' rel='stylesheet' type='text/css'> </head> <body> <!--[if lt IE 8]> <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <![endif]--> <header class="site-header"> <div class="nav u-posFixed"> <ul class="nav-lang"> <li><a href="hello_world.html" >English</a></li> <li><a href="hello_world.es.html" >Español</a></li> <li><a href="hello_world.ja.html" >日本語</a></li> <li><a href="hello_world.pt-br.html" >Português (Brasil)</a></li> <li><a href="hello_world.ru.html" >Русский</a></li> <li><a href="hello_world.zh-cn.html" >中文 (中国)</a></li> <li><a href="hello_world.zh-tw.html" >中文 (臺灣)</a></li> </ul> <div class="wrap-width u-textCenter"> <a href="index.html" <span class="u-floatLeft hand"></span> </a> <a class="filledblock" href="index.html">learnyounode</a> <a href="baby_steps.html" <span class="u-floatRight hand"></span> </a> </div> </div> <div class="wrapper"> <div class="u-floatLeft"> <span class="all-caps">CHALLENGE</span> <h2 class="challenge-name">HELLO WORLD</h2> </div> <div class="u-floatRight u-textRight"> <span class="all-caps">NUMBER</span> <h2 class="challenge-name">1 / 13</h2> </div> </div> </header> <div class="wrapper"> <p>Write a program that prints the text &quot;HELLO WORLD&quot; to the console (stdout).</p> <hr> <h2 id="hints">HINTS</h2> <p>To make Node.js program, create a new file with a <code>.js</code> extension and start writing JavaScript! Execute your program by running it with the <code>node</code> command. e.g.:</p> <pre><code class="lang-sh">$ node program.js </code></pre> <p>You can write to the console in the same way as in the browser:</p> <pre><code class="lang-js"><span class="hljs-built_in">console</span>.log(<span class="hljs-string">"text"</span>) </code></pre> <p>When you are done, you must run:</p> <pre><code class="lang-sh">$ learnyounode verify program.js </code></pre> <p>to proceed. Your program will be tested, a report will be generated, and the lesson will be marked &#39;completed&#39; if you are successful.</p> <hr> <div class="prenext"> <div class="u-floatLeft"> <a href="index.html" class="u-inline-block all-caps"> <div></div> </a> </div> <div class="u-textRight u-floatRight"> <a href="baby_steps.html" class="u-inlineBlock all-caps">BABY STEPS <div></div> </a> </div> </div> <footer> <!-- <ul> <li class="all-caps"><a href="index.html"><strong>Challenges</strong></a></li> <li class="all-caps"> <a href="https://github.com/rvagg/learnyounode/issues/new" target="_blank">Open an Issue</a> </li> </ul> --> </footer> </div> </body> </html>