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/dice-simulation.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/textbased-programms/dice-simulation.js b/textbased-programms/dice-simulation.js
index e8e512c..e496117 100644
--- a/textbased-programms/dice-simulation.js
+++ b/textbased-programms/dice-simulation.js
@@ -16,7 +16,7 @@
let face = Math.floor(Math.random() * (max - min + 1) + min );
let path = `${IMG_DIR}/${face}.png`;
- let img = `<img width="20px" src="${path}" />`;
+ let img = `<img width="50px" src="${path}" />`;
terminal.clear();
terminal.printh(img);
};
--
Gitblit v1.10.0