🌍 Public
Viewing a saved revision (read-only)
fbba085f74a1483082ae9b48fb2c10ed
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 descriptionAn example showing the capabilities of VizHub.