How to Minify Your Code in JavaScript


show more Developers compact or minify their code in order to decrease the size of the JavaScript and improve page load times. You can minify your code by removing comments, renaming long variables and functions, and combining multiple statements into a single line. Or you can use one of the tools introduced in this tutorial to automate most of the process. Learn about using Closure Compiler and other tools to minify your code. show less

Video: How to Minify Your Code in JavaScript

Developers compact or minify their code in order to decrease the size of the JavaScript and improve page load times. You can minify your code by removing comments, renaming long variables and functions, and combining multiple statements into a single line. Or you can use one of the tools introduced in this tutorial to automate most of the process. Learn about using Closure Compiler and other tools to minify your code.
please wait ...
Minifying your code
Video duration: 4m 28s 5h 31m Beginner

Viewers:

Developers compact or minify their code in order to decrease the size of the JavaScript and improve page load times. You can minify your code by removing comments, renaming long variables and functions, and combining multiple statements into a single line. Or you can use one of the tools introduced in this tutorial to automate most of the process. Learn about using Closure Compiler and other tools to minify your code.

Use JavaScript to add new features and a richer, more compelling user interface on web pages. This course keeps current best practices and practical uses for JavaScript in mind, while covering syntax, working with the DOM, and developing and debugging across multiple platforms, devices, and browsers. Author Simon Allardice also shows how to progressively enhance and gracefully degrade web pages, and take advantage of the world of JavaScript libraries now available.

Topics include:
  • Understanding the structure of JavaScript code
  • Creating variables, functions, and loops
  • Writing conditional code
  • Sending messages to the console
  • Working with different variable types and objects
  • Creating and changing DOM objects
  • Event handling
  • Working with timers
  • Debugging JavaScript
  • Building smarter forms
  • Working with CSS, HTML5, and JavaScript
  • Using regular expressions
Subjects:
Developer Web
Software:
JavaScript
Author:

Closed captioning isn’t available for this video right now. New videos usually include captioning within 24 hours after they’re released.

There are currently no FAQs about JavaScript Essential Training.

please wait ...