Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Arrow Function & Multiple Sentences

Public visualization

Viewing a saved revision (read-only)

198b73a3da824ea19cf2741cbe1a871f

Arrow Function & Multiple Sentences

0 stars1🌍 Public
NNita
Last edited Jan 15, 2024
Created on Jan 15, 2024

This example demonstrates a minimal web page that uses JavaScript arrow functions to compute the triple of a given number. The page consists of a single HTML file with embedded CSS styling and a script block. The arrow function `tripple` takes an input, calculates its square, then multiplies that result by the original number to return the cube. The result is logged to the browser console using `console.log()`. The page displays a static "Hello Javascript!" message using standard HTML and CSS, with no external libraries or frameworks involved.

AI-generated description

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

See also React Starter.