startpage

Simple text centric startpage
Log | Files | Refs | README

commit a656c951f07310f98ad15ebf763826b6cbc7585c
parent a73b128f5dffc45e88ac2fa3f24609485a5dfae7
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Tue, 19 Apr 2022 23:11:34 +0100

Remove whitespace on greeting

Diffstat:
Mindex.html | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/index.html b/index.html @@ -24,9 +24,7 @@ </head> <body> <div id="introduction"> - <p> - <script type="text/javascript">var time=new Date;time.getHours()<12?document.write("Good Morning"):time.getHours()>=12&&time.getHours()<=17?document.write("Good Afternoon"):time.getHours()>17&&time.getHours()<=24?document.write("Good Evening"):document.write("Good Night");</script> - </p> + <p><script type="text/javascript">var time=new Date;time.getHours()<12?document.write("Good Morning"):time.getHours()>=12&&time.getHours()<=17?document.write("Good Afternoon"):time.getHours()>17&&time.getHours()<=24?document.write("Good Evening"):document.write("Good Night");</script></p> </div> <div id="screen"> <div id="input">