In this tutorial we will discuss functions and properties. While writing code you often need to do a lot of repetitive operations. This operations are better to write into special blocks - functions. Function is subprogramm which works with any data and returns any...
JavaScript
JavaScript. Loops, conditions.
In this lesson we'll consider important themes in javascript and programming in general - conditions, loops, break and much more. In the beginning we will discuss unary plus and minus. You must notice several key features. unary plus has got the highest priority...
Intro to API VKontakte
In the next two or three lessons we'll discuss basics of api VKontakte using ajax knowledges, In this lesson we'll consider api app creating and installing widgets for sites URL of API VKontakte is https://vk.com/dev. You need Web section. Next you need create app in...
Javascript. Variables. Dialogs, alerts
In last lesson we began to learn javascript. Today we'll continue to discuss javascript basics - we'll talk about variables, how to declare variables, also we'll discuss 6 main types of data (number, string, boolean, null, undefined, object). Also we'll consider...
Intro to javascript
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...
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....