Why reinvent the wheel every time you run into a problem with JavaScript? This cookbook is chock-full of code recipes for common programming tasks, along with techniques for building apps that work in any browser. You'll get adaptable code samples that you can add to almost any project--and you'll learn more about JavaScript in the process.
The recipes in this book take advantage of the latest features in ECMAScript 2020 and beyond and use modern JavaScript coding standards. You'll learn how to:
Set up a productive development environment with a code editor, linter, and test server
Work with JavaScript data types, such as strings, arrays, and BigInts
Improve your understanding of JavaScript functions, including arrow functions, closures, and generators
Apply object-oriented programming concepts like classes and inheritance
Work with rich media in JavaScript, including audio, video, and SVGs
Manipulate HTML markup and CSS styles
Use JavaScript anywhere with Node.js
Access and manipulate remote data with REST, GraphQL, and Fetch
Get started with the popular Express application-building framework
Perform asynchronous operations with Promises, async/await, and web workers
About the Author
Adam D. Scott is an engineering manager, web developer, and educator based in Connecticut. He currently works as the web development lead at the Consumer Financial Protection Bureau, where he focuses on building open source tools. Additionally, he has worked in education for over a decade, teaching and writing curriculum on a range of technical topics. He is the author of WordPress for Education (Packt, 2012), the Introduction to Modern Front-End Development video course (O'Reilly 2015), the Ethical Web Development report series (O'Reilly 2016-2017), and JavaScript Everywhere (O'Reilly 2020).
Matthew MacDonald is a science and technology writer with dozens of books to his name. Over the years, he’s written about programming, web design, and nature’s weirdest computing tool―the human brain. These days he’s exploring quirky content for kids, including a free interactive guide for learning to write JavaScript. You can learn more about his new projects and his semi-regular publication, Young Coder, on his website, http://prosetech.com.
Shelley Powers has been working with, and writing about, web technologies for more than 25 years. She wrote her first book on JavaScript in 1996. Her recent O'Reilly books have primarily focused on JavaScript and Node.
Description:
Why reinvent the wheel every time you run into a problem with JavaScript? This cookbook is chock-full of code recipes for common programming tasks, along with techniques for building apps that work in any browser. You'll get adaptable code samples that you can add to almost any project--and you'll learn more about JavaScript in the process.
The recipes in this book take advantage of the latest features in ECMAScript 2020 and beyond and use modern JavaScript coding standards. You'll learn how to:
About the Author
Adam D. Scott is an engineering manager, web developer, and educator based in Connecticut. He currently works as the web development lead at the Consumer Financial Protection Bureau, where he focuses on building open source tools. Additionally, he has worked in education for over a decade, teaching and writing curriculum on a range of technical topics. He is the author of WordPress for Education (Packt, 2012), the Introduction to Modern Front-End Development video course (O'Reilly 2015), the Ethical Web Development report series (O'Reilly 2016-2017), and JavaScript Everywhere (O'Reilly 2020).
Matthew MacDonald is a science and technology writer with dozens of books to his name. Over the years, he’s written about programming, web design, and nature’s weirdest computing tool―the human brain. These days he’s exploring quirky content for kids, including a free interactive guide for learning to write JavaScript. You can learn more about his new projects and his semi-regular publication, Young Coder, on his website, http://prosetech.com.
Shelley Powers has been working with, and writing about, web technologies for more than 25 years. She wrote her first book on JavaScript in 1996. Her recent O'Reilly books have primarily focused on JavaScript and Node.