JavaScript Absolute Beginner's Guide serves as an easy-to-understand tutorial on both scripting basics and JavaScript itself. The book is written in a clear and very personable style with an extensive use of practical, complete examples. The book is filled with large, full-color illustrations and all the programming code is displayed in color to help the beginner understand the key components and structure of the language.
Record details
ISBN:013650289X
ISBN:9780136502890
Physical Description:xviii, 436 pages : illustrations ; 24 cm. print
Edition:Second edition.
Publisher:[Indianapolis, Indiana] : Que, [2020]
Content descriptions
General Note:
Includes index.
Formatted Contents Note:
Hello, world! -- The basic stuff. Values and variables ; Functions ; Conditional statements: if, else, and switch ; Looping with for, while, and do... while! ; Commenting your code... FTW! ; Timers ; Variable scope ; Closures ; Where should your code live? -- It's an object-oriented world. Console logging basics ; Of pizza, types, primitives, and ojects ; Arrays ; Strings ; When primitives behave like objects ; Numbers ; Getters and setters ; A deeper look at objects ; Extending built-in objects ; Using classes ; Booleans and the stricter === and !=== operators ; Null and undefined -- Working with the DOM. All about JSON (aka JavaScript Object Notation) ; JS, the browser, and the dom ; Finding elements in the dom ; Modifying dom elements ; Styling our content ; Traversing the dom ; Creating and removing dom elements ; In-browser developer tools -- Dealing with events. Events ; Event bubbling and capturing ; Mouse events ; Keyboard events ; Page load events and other stuff ; Handling events for multiple elements ; Conclusion.