Skip to content

Commit 5fc39ab

Browse files
committed
Two more index entries
1 parent c2c7f33 commit 5fc39ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ <h2 id="s:intro-contributors">Who We Are</h2>
357357
<h2 id="s:intro-setup">Setting Up</h2>
358358
<p>You can find the examples for each chapter in the <code>src</code> directory in our <a href="https://github.com/software-tools-in-javascript/js4ds">GitHub repository</a>. Each sub-folder contains the code and data needed to follow along with the text.</p>
359359
<p>The exercises at the end of each chapter include new information that you will need later in the book, and are therefore not optional. You can do the first few online, using a service like <a href="https://runkit.com/">RunKit</a>, which gives you an interactive JavaScript playground in your browser. For larger things, and for chapters starting with the one on creating dynamic web pages (Chapter <a href="#s:dynamic" data-reference-type="ref" data-reference="s:dynamic">7</a>), you should <a href="https://nodejs.org/en/download/">download and install</a> the latest Long-term Support (LTS) versions of Node and NPM.</p>
360-
<p><a href="#g:node-js"><strong>Node</strong></a> is an open source implementation of JavaScript that includes a command-line interpreter like those for languages such as Python and R. The command <code>node</code> on its own starts a <a href="#g:repl"><strong>read-evaluate-print loop</strong></a> that executes commands as they are typed in and displays their output. The command <code>node filename.js</code> reads and runs the commands in <code>filename.js</code>; we will see in Chapter <a href="#s:pages" data-reference-type="ref" data-reference="s:pages">6</a> how to run JavaScript in a browser.</p>
360+
<p><a href="#g:node-js"><strong>Node</strong></a> is an open source implementation of JavaScript that includes a command-line interpreter like those for languages such as Python and R. The command <code>node</code> on its own starts a <a href="#g:repl"><strong>read-evaluate-print loop</strong></a> (REPL) that executes commands as they are typed in and displays their output. The command <code>node filename.js</code> reads and runs the commands in <code>filename.js</code>; we will see in Chapter <a href="#s:pages" data-reference-type="ref" data-reference="s:pages">6</a> how to run JavaScript in a browser.</p>
361361
<p><code>npm</code> is the Node <a href="#g:package-manager"><strong>Package Manager</strong></a>, a command-line tool for finding, installing, updating, building, and executing JavaScript libraries. The command <code>npm install --global library-name</code> (without a <code>.js</code> extension) installs a library <a href="#g:global-installation"><strong>globally</strong></a> so that all projects can use it, while <code>npm install --save library-name</code> installs the library <a href="#g:local-installation"><strong>locally</strong></a> (i.e., in the current project folder). Local installation is usually a better idea, since it isolates projects from one another.</p>
362362
<h2 id="s:index-contrib">Contributing</h2>
363363
<p>Contributions of all kinds are welcome, from errata and minor improvements to entirely new sections and chapters: please submit an issue or pull request to <a href="https://github.com/software-tools-in-javascript/js4ds/">our GitHub repository</a>. Everyone whose work is incorporated will be acknowledged; please note that all contributors are required to abide by our Code of Conduct (Appendix <a href="#s:conduct" data-reference-type="ref" data-reference="s:conduct">18</a>). Please note that we use Simplified English rather than Traditional English, i.e., American rather than British spelling and grammar. We encourage translations; if you would like to take this on, please <a href="[email protected]">email us</a>.</p>

0 commit comments

Comments
 (0)