Home>Web design tutorial> Javascript tutorial
All Dreamweaver tutorial Javascript tutorial HTML tutorial CSS tutorial Experience and skills DHTML tutorial Web effects WEB standardization
Javascript tutorial
  • Hello, world!

    Hello, world!

    This part of the tutorial is about core JavaScript, the language itself.
    2025-01-14
  • Code structure

    Code structure

    The first thing we’ll study is the building blocks of code. StatementsStatements
    2025-01-14
  • The modern mode, "use strict"

    The modern mode, "use strict"

    For a long time, JavaScript evolved without compatibility issues. New features w
    2025-01-14
  • Variables

    Variables

    Most of the time, a JavaScript application needs to work with information. Here are two examples:
    2025-01-13
  • Data types

    Data types

    A value in JavaScript is always of a certain type. For example, a string or a number.There are eight basic data types in JavaScript. Here, we’ll cover them in general and in the next chapters we’ll talk about each of them in detail.We can put any type in
    2025-01-13
  • Interaction: alert, prompt, confirm

    Interaction: alert, prompt, confirm

    As we’ll be using the browser as our demo environment, let’s see a couple of functions to interact with the user: alert, prompt and confirm.
    2025-01-13
  • Type Conversions

    Type Conversions

    Most of the time, operators and functions automatically convert the values given to them to the right type.
    2025-01-10
  • Basic operators, maths

    Basic operators, maths

    We know many operators from school. They are things like addition +, multiplication *, subtraction -, and so on.
    2025-01-10
  • Comparisons

    Comparisons

    We know many comparison operators from maths.In JavaScript they are written like this:
    2025-01-10
  • Conditional branching: if, '?'

    Conditional branching: if, '?'

    Sometimes, we need to perform different actions based on different conditions.
    2025-01-09
  • Logical operators

    Logical operators

    There are four logical operators in JavaScript: || (OR), && (AND), ! (NOT), ?? (Nullish Coalescing). Here we cover the first three, the ?? operator is in the next article.
    2025-01-09
  • Loops: while and for

    Loops: while and for

    We often need to repeat actions.For example, outputting goods from a list one after another or just running the same code for each number from 1 to 10.
    2025-01-08
  • The "switch" statement

    The "switch" statement

    A switch statement can replace multiple if checks.It gives a more descriptive way to compare a value with multiple variants.
    2025-01-08
  • Functions

    Functions

    Quite often we need to perform a similar action in many places of the script.For example, we need to show a nice-looking message when a visitor logs in, logs out and maybe somewhere else.
    2025-01-08
  • Function expressions

    Function expressions

    In JavaScript, a function is not a “magical language structure”, but a special k
    2025-01-08