Category: 1. Javascript Basic

  • JavaScript Data Types

    Data types JavaScript is a dynamic type language, which means that you don’t need to define type of the variable because it is effectively used by the JavaScript engine. There are two types of data in JavaScript: primitive data type and non-primitive (reference) data type. A variable in JavaScript contains any of these data types: strings, numbers, objects: Programming languages which allow…

  • JavaScript Variables

    Variables in javaScript Variable means anything that can be changed anytime. A JavaScript variable is the name of storage location. Variables can be used to store goodies, visitors, and other data. Every programming language use variables. We use variables as symbolic names for values in an application. We can create variables using any of these…

  • JavaScript Use Strict

    For a long time, JavaScript developed without any similarity issues. There were added some new attributes to the language, but old functionality didn’t change. That had the profit of never breaking existing code. But the negative aspect was that any mistake or some imperfect decision made by the creators of JavaScript got stuck in the…

  • Javascript with DOM

    What is DOM The Document Object Model (DOM) is a way to represent a programming interface for HTML and XML documents. With the help of DOM we can gain and manipulate tags, classes using commands of Documents object. It gives an opportunity to connect programming languages to the page. DOM Document Web page is a document, which we can…

  • Javascript comments

    We usually use JavaScript comments for explaining JavaScript code and making it more readable. They also can be used to prevent execution during testing alternative code. There are exists two types of comments: single line comments and multi-line comments. The example which you see here uses a single-line comment before each code line: We use…

  • Start using Javascript

    Writing Your First JavaScript Program HTML can’t do the math, it can’t figure out if someone has correctly filled out a form. HTML just let people read the text, watch videos, look at pictures, and click links. You need JavaScript to add intelligence to your web pages so they can respond to your site’s visitors.…

  • JavaScript Introduction

    What is JavaScript? JavaScript is a high-level, dynamic, lightweight, interpreted computer programming language. It’s designed for creating network-centric apps. It has made modern web apps possible— apps with which you can interact directly without doing a page reload for every action. It’s also used in more traditional websites to provide different forms of interactivity and…