Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3.js

Public visualization

Viewing a saved revision (read-only)

d3b53e0573bc4527bd429c9a488759f2

Fork of D3.js

1 star0🌍 Public
SSai Krupa Jangala
Last edited Dec 1, 2021
Created on Dec 1, 2021
Forked from 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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.