Monday , 20 November 2017
Home / Tag Archives: guide (page 2)

Tag Archives: guide

Request Types – Advanced JavaScript Tutorial

Request Types

Request types only matter when you need to send data along with your request. HTTP headers are meant to store information about the request and the response like the referrer or date it was sent. If you need to send custom data like names, addresses, or just a really long message, then you use form data. Let’s take a look …

Read More »

HTTP Headers – Advanced JavaScript Tutorial

HTTP headers are just pieces of information of the request and response. Browsers will automatically send this kind of information by default. Sometimes you’ll want to modify these HTTP headers so you can let servers know what to expect. Servers also send you back HTTP headers which allow you to know more information about the response itself. Sending Custom Headers …

Read More »

AJAX – Advanced JavaScript Tutorial

AJAX

AJAX stands for Asynchronous JavaScript XML. This can be a bit misleading as you can make AJAX calls be synchronous.  This tutorial requires that you upload and use your files on a live or local server. What is AJAX? Traditional websites would load a different page every time you needed to make a request to a different page or file. …

Read More »

Console Object – Advanced JavaScript Tutorial

Console Object

The console object is the recommended way to log errors, messages, and information about what’s going on. All browsers have consoles and are accessible via the console object. Clear your script and add this bit of code. [crayon-5a123cbc9e449392258967/] To access the console object, will depend on your browser. If you have FireFox, then you must install firebug in order to …

Read More »

Try-catch Statement – Advanced JavaScript Tutorial

Try-Catch Statement

The try-catch statement is a unique way to handle errors. When errors occur, usually it would be logged into the console for you to see. This can be accessed in a variety of ways in different browsers. Usually you’ll find it in the developer section. The try-catch statement allows you to handle errors in your own way. Let’s clean up …

Read More »

Audio – Advanced JavaScript Tutorial

Audio

The video and audio objects both have the same events, properties and methods. So, you already know how to use most of things in the audio object. However, there are a couple of key differences when it comes to formats. Audio Tags To add audio into your document, then you use the <audio> tags like so. [crayon-5a123cbc9ee3b720838178/] Like last time, …

Read More »

Video Events – Advanced JavaScript Tutorial

Video Events

Video events allow you to tap into what’s currently happening with the video. There are a couple of video events, but we’ll only go over the more common ones. Let’s update our <body> tags to this. [crayon-5a123cbc9f7c5201612767/] We added a button and a place to display the duration and the current time of the video. Let’s update our script to this. …

Read More »

Video – Advanced JavaScript Tutorial

Video

Videos have finally become possible since the introduction of HTML5. It is VERY easy to work with videos as the good guys at W3C made a very simple API to use. Before you get started, please make sure to download the source code for this tutorial as it contains the video files for this tutorial. Video Tags Before we dig …

Read More »

Global Properties – Advanced JavaScript Tutorial

Global Properties

There are 2 global properties you can use to apply to your drawings. This the alpha and composition properties. They can truly effect the outcome of all your drawings. Alpha Clear your script and add this bit of code. [crayon-5a123cbca12cc271859912/] In the example above, we draw a rectangle with the default settings. Next, we change the globalAlpha property. This property …

Read More »

Gradients – Advanced JavaScript Tutorial

Gradients

Gradients allow you to create fills with multiple colors. Not only that, it takes care of transitioning from 1 color to the next. There are 2 kinds of gradients which are linear and radial. We’ll learn how to do both in this tutorial. Linear Gradients Clear your script and add this bit of code. [crayon-5a123cbca17f4230621819/] Alright a couple of things …

Read More »
ULTIMATE WORDPRESS DEVELOPMENT COURSE
Want to learn how to create your own custom WordPress plugins and themes? Check out my course!
Get 93% off my course. You'll also learn how to integrate WooCommerce and BuddyPress into your projects. This is a limited time offer
Yes, I would like to get 93% off your course!
No Thanks!
close-link