From cf27ccb5260e076f12a21e57e990eff042b7ade0 Mon Sep 17 00:00:00 2001 From: Gary Date: Tue, 27 Jan 2026 14:04:37 -0800 Subject: [PATCH] countdown --- css/styles.css | 16 ++++ index.html | 11 +++ js/back-to-top.js | 13 +++ js/countdown.js | 205 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 245 insertions(+) create mode 100644 js/back-to-top.js create mode 100644 js/countdown.js diff --git a/css/styles.css b/css/styles.css index 15c0457..d364a79 100644 --- a/css/styles.css +++ b/css/styles.css @@ -331,6 +331,22 @@ a { z-index: -1; filter: blur(7px); } +#back-to-top { + position: fixed; + bottom: -40px; + right: 20px; + background-color: #43786b; + color: #fff; + border: none; + padding: 10px; + border-radius: 10px; + cursor: pointer; +} + +#back-to-top.show { + bottom: 80px; + z-index: 5; +} /* Styles for the navigation bar */ .nav-bar { display: flex; diff --git a/index.html b/index.html index 6ac05e4..decc49a 100644 --- a/index.html +++ b/index.html @@ -39,6 +39,8 @@ + + @@ -54,9 +56,16 @@ helping you achieve digital self-sufficiency.

+
Learn More
+
+