Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Js xhr test

Public visualization

Viewing a saved revision (read-only)

8e8757331e82440eb0c7008522bb81bc

Js xhr test

0 stars1🌍 Public
LLaurens
Last edited Feb 11, 2020
Created on Feb 11, 2020
Forked from Js template

This example tests the behavior of the JavaScript `XMLHttpRequest` object inside a React environment, rendering a single "Hello Js" message in large text. The code attempts two approaches: one creates an `XMLHttpRequest` and accesses a nested `.xhr` property, while the other directly instantiates it. Each instance has a `load` event listener added, though the page displays no data loading or visualization output. The example uses plain HTML, CSS for styling, and vanilla JavaScript with no external libraries like D3 or React components.

AI-generated description

A bare minimum HTML page.

See also React Starter.