This is the code repository for Mastering JavaScript [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.
JavaScript is the browser language that supports object-oriented, imperative, and functional programming styles, focusing on website behavior. It has a rich set of libraries and frameworks and is the most widely used client-side language with features such as asynchronous communication, controlling browsers, and editing documents. JavaScript provides web developers out there with the knowledge to program more intelligently and idiomatically—something not all programmers can do or understand.
Mastering JavaScript will immerse you in the JavaScript world, where you will mature as a developer by exploring the best practices for building an original, functional, and useful cross-platform library.
Starting off with just some basic knowledge of JavaScript and HTML, we will first lay a solid naming foundation for OOP coding by exploring the best naming conventions practices for primitive variables, constructors, methods, and properties. Then we’ll shed some light on creating global namespace, create a pure JavaScript onload script, and walk through cross-browser compatibility. We will learn how the onload and DOMContentLoaded events are actually triggered and understand how to use querySelectorAll method and dynamically load scripts using a script loader.
As the course progresses, we will start building up our own libraries by integrating codes, methods, and logic, we will also expand our library with design patterns such as module, façade, adapter, and singleton. Finally, we will create a working time manager and explore unit testing in JavaScript.
After working through this video course, you will be equipped with all the knowledge, tips, and hacks you need to stand out in the advanced world of web development.
- How to use JavaScript
- How to create elements dynamically
- Manipulate elements using JavaScript
- Explore the JavaScript Document Object Model
To fully benefit from the coverage included in this course, you will need:
A practical, well-structured video course that gives the users hands-on experience for creating their own original libraries using a variety of design patterns.
This course has the following software requirements:
Basic knowdlege of HTML and JavaScript