Skip to main content
100%

Example

✓ Published0🌍 Public
Bbertieip
Last edited Jun 17, 2020
Created on Jun 17, 2020
Forked from HTML Starter

This example shows the result of summing an array of numbers, displaying the output as a large heading. The code defines an `add` function and a `reduce` function to iterate over the list, accumulating the total. The result is then written to the page's HTML element using the DOM API `document.getElementById` and setting its `innerHTML`. The page's styling is applied through a linked CSS file.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes