JavaScript is the programming language used to create web pages and can add to these interactive features. It is fully compatible with HTML documents to provide them with forms, animations, games, etc …

A dynamic web page is made up of actions that are activated by clicking a button, texts that appear and disappear, animations and many more features. This is specifically what JavaScript takes care of without the need to compile programs to run.

JavaScript works natively in browsers and does not require intermediate processes, currently they already have JavaScript support included. The contrast when using one or the other browser would be the language they use, while Explorer uses JScript, the rest use JavaScript. Otherwise it is practically the same in all browsers.

Apart from the advantages of creating animations, forms, etc … we can say that the language that JavaScript uses is quite simple and it is also free.

 

Basic rules for JavaScript code

The standards on which the JavaScript codes are based are 5 and must be complied with without exceptions.

  • All the code is inside functions.
  • The functions are built between the <script> and </script> tags.
  • The “<title>” tags cannot be placed between the “<script>” tags.
  • When writing a JavaScript program, capital and small letters must be respected.
  • The call to the function is made by an event of an element to the document.
  • The instructions given to the function are separated with a dot and com (.com)

Bibliotecaria frustrada que un día descubrió el potencial que tenía de creatividad y después de varios cursos de marketing decidió explotarlo en redes sociales y terminó haciéndose community mánager de diferentes empresas y artistas. Le encanta el silencio pero es melómana hasta la médula, puro espíritu de contradicción. Fanática de libros, películas y series de terror. Vive mirando una estrella, siempre en estado de espera.