Skip to Main Content
JavaScript: A Beginner's Guide, Fifth Edition, 5th Edition
book

JavaScript: A Beginner's Guide, Fifth Edition, 5th Edition

by John Pollock
November 2019
Beginner content levelBeginner
560 pages
13h 36m
English
McGraw-Hill
Content preview from JavaScript: A Beginner's Guide, Fifth Edition, 5th Edition

Appendix

Answers to Self Tests

Chapter 1: Introduction to JavaScript

1.   C. HTML

2.   A. A Web browser

3.   C. JavaScript

4.   B. False

5.   C. ECMAScript

6.   A. True

7.   C. LiveScript

8.   A. prototype-based

9.   B. False

10.   B. It may offer features such as code highlighting, completion, debugging tools, and more.

11.   C. interpreted

12.   B. False

13.   D. The client

14.   D. It is added to an HTML document.

15.   A. <script> and </script> HTML tags

Chapter 2: Placing JavaScript in an HTML File

1.   D. All of the above

2.   B. To ensure the Web page validates when using XHTML

3.   A. Yes

4.   The noscript tag provides content for those without JavaScript.

5.   A. .js

6.   B. <script src=“yourfile.js”></script>

7.   In HTML, the script ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Javascript Absolute Beginner's Guide, 3rd Edition

Javascript Absolute Beginner's Guide, 3rd Edition

Kirupa Chinnathambi
JavaScript Cookbook, 3rd Edition

JavaScript Cookbook, 3rd Edition

Adam D. Scott, Matthew MacDonald, Shelley Powers

Publisher Resources

ISBN: 9781260457698