Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Ddescarmendel
Last edited Nov 28, 2020
Created on Nov 28, 2020
Forked from Cars Report

This example demonstrates basic DOM manipulation in a web page titled “Cars Report,” where two text elements are updated via JavaScript to display the string “HELLO WORLD.” Using the `getElementById` and `textContent` APIs, the code replaces the initial content of the `<pre>` elements when the page loads. The page relies on plain HTML, CSS for font sizing, and vanilla JavaScript, with no external libraries or data sources. A separate `index.js` file also attempts to update a non-existent element, showing a typical error-prone setup for a beginner React-free starter.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes