-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a countdown to 1st day of the year #27
Conversation
✔️ Deploy Preview for rcountdown ready! 🔨 Explore the source changes: ddf9329 🔍 Inspect the deploy log: https://app.netlify.com/sites/rcountdown/deploys/61cf6f043811e50007be3337 😎 Browse the preview: https://deploy-preview-27--rcountdown.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not bad, not bad at all :)
- lots of commented section in
clock.js
. If you don't mind taking some out - the
startTime()
in theclock.js
seems not be in use. if you can revisit that and take that out - if its possible, move the other time related functions in
app.js
that aren't coupled with any DOM element intoclock.js
- this
day${d>1? 's':''}
inapp.js
will not be needed, that will be done with html & css
styles to come later
edits across files
Preview link got leaked, prompting this quick edit
Add function for counting days (accounting for leap year)
Made changes to the code in terms of readability |
1 similar comment
Made changes to the code in terms of readability |
<div class="banner">CountDown to New Year <i class="fas fa-snowman"></i></div> | ||
|
||
<div class="banner"> | ||
<div class=""> Day <span class="day" id ='countDay'>X</span> / 365</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:(
You can improve the day count design if you want to 🙂
…On Fri, 31 Dec 2021, 14:32 Nathaniel, ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In index.html
<#27 (comment)>:
> </div>
<div class="banner-row">
- <!-- <div class="banner"> day <span class="day">X</span> / 365</div> -->
- <div class="banner">CountDown to New Year <i class="fas fa-snowman"></i></div>
+
+ <div class="banner">
+ <div class=""> Day <span class="day" id ='countDay'>X</span> / 365</div>
:(
—
Reply to this email directly, view it on GitHub
<#27 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANY6G43FXDWFPUYIPXHNYXDUTW5HLANCNFSM5LADKF4A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
edit styles
update site description
Fixed #30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice addition :)
Added a countdown to 1st January or New year