🌍 Public
Viewing a saved revision (read-only)
71e16778eadc49898dbb7858b9457d44
car eg
This example displays the make of the first car in a small dataset, rendered as large text on a dark blue background. The data is stored as a JSON string in a separate module, parsed with `JSON.parse`, and imported via ES6 module syntax. The code uses `document.getElementById` to target a `<pre>` element and sets its `textContent` to the car’s make. Styling relies on an external Google Fonts import and a CSS rule for font size, color, and alignment.
AI-generated description