Ebook: JavaScript from Beginner to Professional: Learn JavaScript quickly by building fun, interactive, and dynamic web apps, games, and pages
- Genre: Computers // Programming: Programming Languages
- Tags: Programming, JavaScript, Concurrency, DOM, Object-Oriented Programming, HTML5, Regular Expressions, Assignments
- Year: 2021
- Publisher: Packt Publishing
- City: Birmingham, UK
- Edition: 1
- Language: English
- pdf
Start your journey towards becoming a JavaScript developer with the help of more than 100 fun exercises and projects
Key Features
- Write eloquent JavaScript and employ fundamental and advanced features to create your own web apps
- Interact with the browser with HTML and JavaScript, and add dynamic images, shapes, and text with HTML5 Canvas
- Build a password checker, paint web app, hangman game, and many more fun projects
Book Description
This book demonstrates the capabilities of JavaScript for web application development by combining theoretical learning with code exercises and fun projects that you can challenge yourself with. The guiding principle of the book is to show how straightforward JavaScript techniques can be used to make web apps ranging from dynamic websites to simple browser-based games.
JavaScript from Beginner to Professional focuses on key programming concepts and Document Object Model manipulations that are used to solve common problems in professional web applications. These include data validation, manipulating the appearance of web pages, working with asynchronous and concurrent code.
The book uses project-based learning to provide context for the theoretical components in a series of code examples that can be used as modules of an application, such as input validators, games, and simple animations. This will be supplemented with a brief crash course on HTML and CSS to illustrate how JavaScript components fit into a complete web application.
As you learn the concepts, you can try them in your own editor or browser console to get a solid understanding of how they work and what they do. By the end of this JavaScript book, you will feel confident writing core JavaScript code and be equipped to progress to more advanced libraries, frameworks, and environments such as React, Angular, and Node.js.
What you will learn
- Use logic statements to make decisions within your code
- Save time with JavaScript loops by avoiding writing the same code repeatedly
- Use JavaScript functions and methods to selectively execute code
- Connect to HTML5 elements and bring your own web pages to life with interactive content
- Make your search patterns more effective with regular expressions
- Explore concurrency and asynchronous programming to process events efficiently and improve performance
- Get a head start on your next steps with primers on key libraries, frameworks, and APIs
Who this book is for
This book is for people who are new to JavaScript (JS) or those looking to build up their skills in web development. Basic familiarity with HTML & CSS would be beneficial.
Whether you are a junior or intermediate developer who needs an easy-to-understand practical guide for JS concepts, a developer who wants to transition into working with JS, or a student studying programming concepts using JS, this book will prove helpful.
Table of Contents
- Getting Started with JavaScript
- JavaScript Essentials
- JavaScript Multiple Values
- Logic Statements
- Loops
- Functions
- Classes
- Built-In JavaScript Methods
- The Document Object Model
- Dynamic Element Manipulation Using the DOM
- Interactive Content and Event Listeners
- Intermediate JavaScript
- Concurrency
- HTML5, Canvas, and JavaScript
- Next Steps
- Appendix – Practice Exercise, Project, and Self-Check Quiz Answers