Changing text

Report a typo

An empty paragraph is created in the code below:

let paragraph = document.createElement("p");

Your task is to set its content to Learning DOM methods is fun. Safely change the content using the correct property.

Enter a short text
___

Create a free account to access the full topic