Book description
Who knew how simple using JavaScript could be?
Make the most of JavaScript--even if you've never programmed anything before. JavaScript Absolute Beginner's Guide is the fastest way to learn JavaScript and use it together with CSS3 and HTML5 to create powerful web and mobile experiences. Learn how to do what you want, the way you want, one incredibly easy step at a time. JavaScript has never been this simple!
Here's a small sample of what youll learn:
Organize your code with variables
Understand how functions make your code reusable
Use the popular if/else statement to help make a decision in code
Learn about switch statements and when to use them
Work with for, while, and do...while loops
Learn how to use global and local scope
Understand what closures are
Learn about the various places your code can live
Understand how to write comments and use good commenting practices
Learn about the basic types of objects youll run into in JavaScript
Find out that pizza has an educational value beyond just being deliciously awesome
Learn how to perform common string operations
Use arrays to handle lists of data
Learn to create custom objects
Get up to speed on some of the big ES6 changes
Table of contents
- Cover Page
- About This eBook
- Title Page
- Copyright Page
- Contents at a Glance
- Register Your Book
- Table of Contents
- Dedication
- Acknowledgments
- About the Author
- Figure Credits
- Introduction
- 1. Hello, World!
- Part I: The Basic Stuff
-
Part II: It’s an Object-Oriented World
- 11. Console Logging Basics
- 12. Of Pizza, Types, Primitives, and Objects
-
13. Arrays
- Creating an Array
- Accessing Array Values
- Adding Items to Your Array
- Removing Items from the Array
- Finding Items in the Array
- Merging Arrays
- Mapping, Filtering, and Reducing Arrays
- The Old School Way
- Modifying Each Array Item with Map
- Getting One Value from an Array of Items
- A Short Foray into Functional Programming
- 14. Strings
- 15. When Primitives Behave Like Objects
- 16. Numbers
- 17. Getters and Setters
- 18. A Deeper Look at Objects
- 19. Extending Built-In Objects
- 20. Using Classes
- 21. Booleans and the Stricter === and !== Operators
- 22. Null and Undefined
- Part III: Working with the DOM
- Part IV: Dealing with Events
- Glossary
- Index
- Code Snippets
Product information
- Title: JavaScript Absolute Beginner's Guide, 2nd Edition
- Author(s):
- Release date: December 2019
- Publisher(s): Que
- ISBN: 9780136204213
You might also like
book
JavaScript Absolute Beginner’s Guide
JavaScript Absolute Beginner's Guide No experience necessary! Make the most of JavaScript -- even if you've …
book
JavaScript: A Beginner's Guide, Fifth Edition, 5th Edition
Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, …
book
JavaScript: Novice to Ninja, 2nd Edition
JavaScript is a must-have skill for all web developers. JavaScript: Novice to Ninja is a fun, …
book
JavaScript: The Good Parts
Most programming languages contain good and bad parts, but JavaScript has more than its share of …