Example 1

Example 2

Example 3

Show in an alert window the value of a field

By pressing the button, a function with an argument will be called. The function will alert this argument.

Example 4

Loop to write headings

Example 5

Open a window

Example 6

Form validation

Enter a value from 1 to 5:

Example 7

Example 8

Modify innerHTML

Initial text

Texto bold

Example 9

Input type date

Example 10

Create button manipulating DOM

Example 11

Create table

Example 12

Create table 2

rows and columns

End of page