0415
✓ Published0🌍 Public
This example demonstrates a minimal HTML page that uses JavaScript to display text on the page and in the browser console. The page writes a red-colored HTML string and a personalized age message directly into the document using `document.write`. It also logs “Hello JavaScript!” to the developer console with `console.log`. The code uses the React framework for the surrounding project, but the core interaction relies on basic JavaScript DOM methods and inline CSS styling.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed