From 800a3656455f20efbda3056184ac97c7e8eb1098 Mon Sep 17 00:00:00 2001 From: vishal-pandey Date: Sun, 28 Apr 2024 01:21:20 +0530 Subject: [PATCH] Loading Screen Added --- app.js | 2 ++ index.html | 4 +++ style.css | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 102 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 697b338..f91413a 100644 --- a/app.js +++ b/app.js @@ -13,6 +13,8 @@ window.onload = async function () { fillBoard(weights, bias); + document.querySelector(".loading").style.display = "none"; + document.querySelector(".reset").addEventListener("click", function () { data = Array.from({ length: 784 }, () => 0); document.querySelector(".output").innerHTML = ""; diff --git a/index.html b/index.html index ee15827..34641af 100644 --- a/index.html +++ b/index.html @@ -10,6 +10,10 @@ +
+
+
Please wait downloading weights....
+

Deep Neural Network in pure JS