Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
LLulu
Last edited Apr 24, 2021
Created on Apr 24, 2021
Forked from HTML Starter

This example demonstrates a minimal static page that displays the model name of the first car in a hardcoded array. It shows how to structure an HTML file with embedded CSS and JavaScript, alongside separate ES6 modules for data and logic. The page uses plain DOM APIs like `getElementById` and `textContent` in `index.js` to update the `#message-element` preformatted block. The `cars.js` file exports a const array of objects containing brand, model, and price fields, with the displayed value sourced from that dataset.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes