Before this lesson we worked with HTML and CSS. They were constructor of our page. We learnt make responsive site. But how to make sites "smarter"? Javascript helps us with it. Nowadays in javascript developers can write server side code. There are a lot of frameworks...
JavaScript
JQuery. Ajax example with recaptcha
In this lesson we'll consider jquery ajax method and do exercise with google recaptcha using. Ajax method has got two parameters - url, which accept data form ajax and settings. Settings is a large array. It gives possibility developer to control ajax request...
Intro to jquery ajax
In this lesson we'll begin to consider ajax jquery. We'll consider five useful functions , most of it are special cases of ajax method. Ajax method will be considered in next lesson. Shortly about considered methods: jQuery.get (https://api.jquery.com/jquery.get/) -...
JavaScript. Objects. Constructors
In this tutorial we continue to consider objects in javascript, Consider other ways object creation. One of them is constructor function. Remember last lesson we have got a problem - how to create objects on massive scale. For this purpose javascript has constructor...
JavaScript. XMLHttpRequest. POST requests. Make simple comment form with ajax
In last lesson we considered GET requests with xmlhttprequest. In this lesson we'll discuss how to make post requests with this object. The differences between GET and POST is the way to pass data. IN GET data is passed in url. IN POST data is passed in request body....
JavaScript. Intro to AJAX. XMLHttpRequest
In this lesson we begin learning ajax - asynchronous Javascript and XML. This technology allows to exchange data without page reload. We'll discuss ajax in the javascript context and jquery context. JS has got built-in object XMLHttpRequest, which implements ajax....
JavaScript. Intro to XML
Last lesson we discussed json. Today we consider XML - extended markup language XML has similarities with HTML. Both languages are markup languages. But HTML is web page markup language, while XML is data structure markup language. XML may be pretty for display with...
JavaScript. Intro to JSON
In this lesson we will consider JSON data format. Why must we use data formats.Simply we need it to exchange data betweeen for example php and javascript or between two different servers. A few lessons later we will get data from VK server. JavaScript has got JSON...
JavaScript. RequestAnimationFrame
In this lesson we will talk about RequestAnimationFrame function. This function is used while animation creating. Traditionally animations are crating with setInterval method. It is clear, because animation is repeating action in time. Drawback of setInterval using...