Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sijie_test

Public visualization

Sijie_test

0 stars0🌍 Public
Ssijieliush
Last edited Feb 16, 2021
Created on Feb 16, 2021
Forked from HTML Starter

This example displays the price of the first car from a hardcoded JSON array containing three vehicles, showing the value 2700 in large text. The code imports the array from `cars.js` using an ES module syntax, then accesses the `price` property of the first element. Rendering occurs through the DOM API `document.getElementById` and `textContent` to update the message element in the HTML page. The visualization relies on React’s build tooling to bundle the JavaScript, as referenced in the accompanying documentation.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed