Hello JS
✓ Published2🌍 Public
This example displays the static text “Hello world” in large, centered type on a plain HTML page. It renders a JavaScript string constant to a `<pre>` element using the DOM API `document.getElementById` and setting its `textContent` property. The page also defines a sample array of car objects as embedded JSON, parsed with `JSON.parse`, though this data is not visualized or otherwise used in the output. The implementation relies solely on vanilla JavaScript and HTML, with no external libraries or frameworks.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed