Skip to main content
100%

hello zerkhi

✓ Published0🌍 Public
HHelenaShu
Last edited Aug 19, 2019
Created on Aug 18, 2019
Forked from hello zerkhi

This example demonstrates how to import and display a text message from an external JavaScript module. The `index.js` file imports `bikejson` from `bikes.js`, which exports a string variable, and injects it into the `#me-po` element using the DOM API `document.getElementById` and the `textContent` property. The message is rendered in large, 7em font size via inline styling. The visualization shows a simple text output where data flows from a module export to the page, highlighting basic module import and DOM manipulation without any additional libraries or data processing.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes