Welcome to the next article where we will discuss the basics of this, what changed JavaScript for ever. Basics of AJAX The AJAX (Asynchronous JavaScript and XML) — is a technology of web application development, in which the user can interact with the server without reloading the entire document. Operations are done asynchronously. AJAX technology […]
Archive for the ‘Articles’ Category
Cookies in JavaScript
In this article we will talk about working with cookies in JavaScript. And no, it’s not about eating. Working with cookies in JavaScript Cookies — small information sent by a web server and stored on the user side (typically on the hard disk). Cookies are most commonly used for counters, probes, online stores, sites that […]
Math, numbers, calculations. The Math object in JavaScript.
Well, other JavaScript objects we have discussed already, or we will discuss in next articles. Today we will focus on numbers and the Number object in JavaScript, take a look closer at calculations and Math object in JavaScript. JavaScript Number Object It is a primary object to handle numbers, and has properties for numerical constants: […]
JavaScript DOM. Next step — we explore DOM and BOM.
It’s time to take a step forward. We explore DOM and BOM (Browser Object Model, don’t confuse with Byte Order Mark). JavaScript DOM We will meet with DOM many times. The topic is extensive, but definitely it’s one of the most interesting things in JavaScript. Moreover, thanks to the operations of the DOM we have […]
Arrays and strings in JavaScript. Basics part 5 — summary.
After discussing the absolute basics, it’s time to talk about arrays and strings in JavaScript. These are really important elements, and having mastered them we are ready to go to the next level. Arrays and strings in JavaScript At first we’ll take a look at text strings and basic methods of processing them. Afterwards we’ll […]
Loops in JavaScript, conditional statements, flow control. JavaScript basics part 4.
In today’s article we’ll discuss conditional statements and loops in JavaScript. Thus we have a full understanding of the program flow control. We are approaching the end of JavaScript basics. And that’s great, because at next development stages there will be more fun and possibilities! The conditional statement: if So code execution depending on the […]
Operators in JavaScript, data types, global elements. Part 3 of language basics.
Welcome to the next article about JavaScript basics. Today we’ll focus on very important topics, such as data types and operators in JavaScript. Operators in JavaScript They serve the programmer to perform basic operations on variables, like assignment, arithmetic, comparison, and more. Arithmetic operators This looks the same as in other programming languages: + (addition) […]
Functions and events. JavaScript basics part 2.
Functions and events in JavaScript … … will be the main topic in this part of articles about JavaScript basics. So let’s go. Functions in the JavaScript Functions are the next important element of the language. As we already mentioned in part 1: functions exist independently, while methods are directly associated to the objects. When […]
JavaScript in a nutshell — keywords. Basics part 1.
Welcome to the first part of articles about JavaScript language basics. At the beginning I want to describe things useful for beginners, to start programming as soon as possible. More advanced programmers simply may use it as some kind of handbook, having information in one place. We’ll start from JavaScript language keywords. The history of […]
JavaScript — for what and why? Motivation to explore the language.
JavaScript? I’m pretty sure we can find full spectrum of people — from passionate enthusiasts to people that hate this language, and despise JS developers. Meanwhile, in good conscience we can say that JavaScript is more powerful than many people think! Let’s try to answer following questions: Is JavaScript so strong and necessary? Isn’t this […]