🌍 Public
Viewing a saved revision (read-only)
0dfe781a351b40f0b07cbf7642aa9345
Fork of D3.js
This example demonstrates how to apply inline CSS styling to paragraph elements using JavaScript. The code selects all `<p>` tags from the DOM and sets their text color to blue via the `style.setProperty` method. The visualization gallery presents a minimal HTML page without any data sources, relying solely on vanilla JavaScript and the Document Object Model (DOM) API for its interaction.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.