Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
BBashir Shalaik
Last edited Jul 10, 2020
Created on Jul 9, 2020
Forked from HTML Starter

This example demonstrates how to parse and display JSON data on a webpage using standard JavaScript APIs. It shows a static, formatted JSON object containing car records (with fields such as make, model, year, and price) rendered inside a `<pre>` element for readability. The code uses `JSON.parse` to convert a string of car data into a JavaScript object, then `JSON.stringify` with indentation to format it for display. While a commented-out import suggests potential use of the `cars.js` module, the active script only processes an inline JSON string, leaving the imported data unused.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes