My First JavaScript

JavaScript can change the content of an HTML element:

This is a demonstration.

Using a Full URL File Path

Mountain Page Title

The content of the body element is displayed in the browser window.

The content of the title element is displayed in the browser tab, in favorites and in search engine results.

Setting the Viewport

This example does not really do anything, other than showing you how to add the viewport meta element.

The samp Element

The samp element represents output from a program or computing system:

If you input wrong value, the program will return Error!

I will display €

I will display €

I will display €