The basics of Javascript
✓ Published0🌍 Public
This example demonstrates the basics of JavaScript by displaying the text "Mars" centered on a blank HTML page. It uses a simple script to select the `#root` div and inject the string via `innerHTML`. The styling relies on CSS within the `body` tag, setting a massive font size. The code is a minimal React-ready setup, though this version uses plain JavaScript without any external libraries.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed