From 85e9b6730a1c181d3c0d4a1a11ea3648dfac717c Mon Sep 17 00:00:00 2001 From: Hong-Phuc Bui <hong-phuc.bui@htwsaar.de> Date: Fri, 17 Oct 2025 07:11:01 +0200 Subject: [PATCH] review code update to ES arrow function --- textbased-programms/gravitation.html | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/textbased-programms/gravitation.html b/textbased-programms/gravitation.html index c7c2b16..4b5f113 100644 --- a/textbased-programms/gravitation.html +++ b/textbased-programms/gravitation.html @@ -8,8 +8,11 @@ </head> <body> -<button name="run" id="run" >Rerun</button> +<p class="description">Programm zum Berechnen der Gravitationskraft zwischen 2 Masse</p> + +<label for="argv">Geben Sie das Gewicht von 2 Massen (in Kg) und die Distanz (in meter) ein!</label> <input type="text" id="argv" name="argv" /> +<button name="run" id="run" >Rerun</button> <pre id="text-output"></pre> <script type="module" src="gravitation.js"></script> -- Gitblit v1.10.0