You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: javascript.html
+29-55Lines changed: 29 additions & 55 deletions
Original file line number
Diff line number
Diff line change
@@ -40,9 +40,8 @@ <h1>Web Programming & Interactivity with JavaScript</h1>
40
40
41
41
<sectionid="overview">
42
42
<h2>Overview</h2>
43
-
<p>This workshop introduces <strong>JavaScript</strong> as the programming layer of the web. It is designed for <strong>researchers, librarians, and research staff</strong> who already have basic familiarity with HTML and CSS and want to add <em>interactivity</em> to research pages.</p>
44
-
45
-
43
+
<p>This workshop introduces <strong>JavaScript</strong> as the programming layer of the web.
44
+
You should already have basic familiarity with HTML and CSS prior to proceeding.</p>
46
45
<ul>
47
46
<li><strong>Duration:</strong> 2 hours</li>
48
47
<li><strong>Prerequisites:</strong> Basic HTML & CSS</li>
@@ -64,15 +63,9 @@ <h2>Setup</h2>
64
63
</li>
65
64
</ul>
66
65
<p>
67
-
To load this index.js file within your webpage use:
@@ -418,13 +394,11 @@ <h2>The DOM: Connecting JavaScript to HTML</h2>
418
394
});</code></pre>
419
395
420
396
<p>Think of the DOM as a bridge between your HTML structure and JavaScript logic.</p>
421
-
422
-
423
397
</section>
424
398
425
399
<sectionid="events">
426
400
<h2>Events & User Interaction</h2>
427
-
<p>Events allow your page to respond to user actions such as clicks or typing.
401
+
<p>Events allow your page to respond to user actions such as clicks or typing.>
428
402
The following example shows how to show/hide an element:
429
403
</p>
430
404
<h3>HTML</h3>
@@ -479,7 +453,7 @@ <h2>Looping through DOM elements</h2>
479
453
</section>
480
454
<sectionid="tabs">
481
455
<h2>Tabs</h2>
482
-
<p>Often time the web interface isn't large enough to show all the content at once. A common solution is to use tabs to show and hide different sections of content.
456
+
<p>Often times the web interface isn't large enough to show all the content at once. A common solution is to use tabs to show and hide different sections of content.
483
457
The following example shows how to show/hide different content sections using JavaScript and CSS.</p>
0 commit comments