🌍 Public
Viewing a saved revision (read-only)
ed7908fed9a74653b7d1902950a1fecc
Arrow Function & Multiple Sentences
NNita
Last edited Jan 15, 2024
Created on Jan 15, 2024
Forked from Fork of Fork of Javascript-ArrayOfOjects-2
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.