🌍 Public
Viewing a saved revision (read-only)
e0b713a445de4b57883d7be9f0c0b02f
Car Data
This example displays a simple text message, "Yes," in a web page. It uses vanilla JavaScript to access the Document Object Model (DOM) and sets the text content of the paragraph with the ID `root-data` through the `textContent` property. The data is a static string defined in the script, with no external data source or dynamic rendering libraries involved. The page is structured with basic HTML and a linked JavaScript file, serving as a minimal demonstration of DOM manipulation.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.