forked from marijnh/Eloquent-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
119 lines (102 loc) · 5.84 KB
/
index.html
File metadata and controls
119 lines (102 loc) · 5.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!doctype html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Eloquent JavaScript</title>
<link rel=stylesheet href="css/ejs.css">
</head>
<div style="background: #ffb; border-bottom: 1px solid silver; padding: 6px 4em; text-align: center">
The <strong>3rd edition</strong> is available. <a href="/">Read it here</a>!
</div>
<article>
<h1>Eloquent JavaScript<div style="font-size: 70%">second edition</div></h2>
<p>This is a book about JavaScript, programming, and the wonders of
the digital. You can read it online here, or get your own
<a href="http://www.amazon.com/gp/product/1593275846/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1593275846&linkCode=as2&tag=marijhaver-20&linkId=VPXXXSRYC5COG5R5">paperback copy</a> of the book.</p>
<p style="text-align: center; margin: 1.5em 0">
<a href="http://www.amazon.com/gp/product/1593275846/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1593275846&linkCode=as2&tag=marijhaver-20&linkId=VPXXXSRYC5COG5R5"><img src="img/cover.png" alt="Cover image" style="border: 1px solid black; max-width: 100%;"></a>
</p>
<p>Written by Marijn Haverbeke.</p>
<p>Licensed under
a <a href="http://creativecommons.org/licenses/by-nc/3.0/">Creative
Commons attribution-noncommercial license</a>. All code in this book
may also be considered licensed under
an <a href="http://opensource.org/licenses/MIT">MIT license</a>.</p>
<p style="font-size: 80%">Illustrations by various artists: Cover by
Wasif Hyder. Computer (introduction) and unicycle people (Chapter
21) by Max Xiantu. Sea of bits (Chapter 1) and weresquirrel (Chapter
4) by Margarita Martínez and José Menor. Octopuses (Chapter 2 and 4)
by Jim Tierney. Object with on/off switch (Chapter 6) by Dyle
MacGregor. Regular expression diagrams in Chapter 9 generated
with <a href="http://regexper.com">regexper.com</a> by Jeff
Avallone. Game concept for Chapter 15
by <a href="http://lessmilk.com">Thomas Palef</a>. Pixel art in
Chapter 16 by Antonio Perdomo Pastor.</p>
<p>The second edition was made possible
by <a href="backers.html">454 financial backers</a>, with
significant contributions from <a href="http://www.mozilla.org/en-US/"><img src="img/mozilla_mini.png"
alt=Mozilla class=logo></a>, <a href="http://www.hackreactor.com/"><img src="img/hack_reactor_mini.png" alt="Hack
Reactor" class=logo></a>, and <a href="http://www.ghostery.com/"><img src="img/ghostery_mini.png" alt="Ghostery"
class=logo></a>.</p>
<h2>Contents</h2>
<style>
li.contents-intro:before { display: none; }
.toc h3 { position: absolute; margin: 0; top: -2px; right: 0; font-family: inherit; font-weight: normal; font-size: 90%; }
@media screen and (max-width: 500px) { .toc h3 { display: none } }
ul.links { list-style-type: circle; }
img.logo { vertical-align: text-top; padding: 0px 4px; border: 0; }
</style>
<ol class=toc>
<li class="contents-intro"><a href="00_intro.html">Introduction</a>
<li style="counter-reset: li; position: relative">
<h3>(Part 1: Language)</h3>
<a href="01_values.html">Values, Types, and Operators</a>
</li>
<li><a href="02_program_structure.html">Program Structure</a>
<li><a href="03_functions.html">Functions</a>
<li><a href="04_data.html">Data Structures: Objects and Arrays</a>
<li><a href="05_higher_order.html">Higher-order Functions</a>
<li><a href="06_object.html">The Secret Life of Objects</a>
<li><a href="07_elife.html">Project: Electronic Life</a>
<li><a href="08_error.html">Bugs and Error Handling</a>
<li><a href="09_regexp.html">Regular Expressions</a>
<li><a href="10_modules.html">Modules</a>
<li><a href="11_language.html">Project: A Programming Language</a>
<li style="position: relative">
<h3>(Part 2: Browser)</h3>
<a href="12_browser.html">JavaScript and the Browser</a>
</li>
<li><a href="13_dom.html">The Document Object Model</a>
<li><a href="14_event.html">Handling Events</a>
<li><a href="15_game.html">Project: A Platform Game</a>
<li><a href="16_canvas.html">Drawing on Canvas</a>
<li><a href="17_http.html">HTTP</a>
<li><a href="18_forms.html">Forms and Form Fields</a>
<li><a href="19_paint.html">Project: A Paint Program</a>
<li style="position: relative">
<h3>(Part 3: Node)</h3>
<a href="20_node.html">Node.js</a>
</li>
<li><a href="21_skillsharing.html">Project: Skill-Sharing Website</a>
</ol>
<h2>Other pages</h2>
<p>A paper version of Eloquent JavaScript, including a bonus
chapter, is being brought out
by <a href="http://www.nostarch.com/ejs2">No Starch Press</a>. They
also sell an ebook version more polished than the files linked
below.</p>
<ul class="links">
<li><a href="code">Code sandbox and exercise solutions</a></li>
<li><a href="errata.html">Errata for the paper book</a></li>
<li><a href="http://eloquentjavascript.net/2nd_edition/Eloquent_JavaScript.pdf">This book as a single PDF file</a> (& <a href="http://eloquentjavascript.net/2nd_edition/Eloquent_JavaScript_small.pdf">small version for mobile</a>)</li>
<li><a href="http://eloquentjavascript.net/2nd_edition/Eloquent_JavaScript.epub">This book as an EPUB file</a></li>
<li><a href="http://eloquentjavascript.net/2nd_edition/Eloquent_JavaScript.mobi">This book as a MOBI (Kindle) file</a></li>
<li><a href="http://eloquentjavascript.net/1st_edition">The first edition of the book</a></li>
</ul>
<h2>Translations</h2>
<ul class=translations>
<li><a href="http://to6esko.github.io/">Български (Bulgarian)</a></li>
<li><a href="http://braziljs.github.io/eloquente-javascript/">Português (Portuguese)</a></li>
<li><a href="https://karmazzin.gitbooks.io/eloquentjavascript_ru/content/">Русский (Russian)</a></li>
</ul>
</article>