Course
summary


    0 chapters available

Loading...

Make your website interactive with JavaScript

Difficulty: Beginner ● Progress: 0 / 0 modules completed

Change the content of an element

The content of an element refers to everything located between the opening tag and the closing tag. Let's take the following example:

<div>
    <h1 id="title">
        Voici la météo de <span id="city">[ville inconnue]</span>
    </h1>
    <p>
        Il fait <span id="weather">[météo non disponible]</span>
    </p>
</div>

You need a free account to read this module