Boredom? Just code and code... When boredom strikes and my mind is on block status(I don't know what to post right now) this end of a month. I just tip my fingers in keyboard and code & code until I made a simple javascript program for Bitcoin Cash Day using an if-else statement. Not sure if it's working and I didn't test it. If you want to run or test, go for it. Don't forget tomorrow (August 1) is Bitcoin Cash Day My Simple Program: Bitcoin Cash Day <script> var set_time = new Date(); set_time.setFullYear(2021,7,1); //the months count from 0 -11. August is 7 var today = new Date(); if (set_time<today) { alert("Sorry, Your'e Late!!!"); } else if (set_time>today) { alert("More day(s) left before BCH Day"); } else { alert("Today is Bitcoin Cash (BCH) Day"); } </script> #Programming
Log in to join in Reading is open to everyone. Replying needs an account.
1 comment
Want ko rin ng gantong stress reliever 𤧠cause of stress ko kasi ang pag code dati hahah pwro want to learn pa rin