Skip to content
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

Merged
merged 23 commits into from
Dec 31, 2021
Merged

Create a countdown to 1st day of the year #27

merged 23 commits into from
Dec 31, 2021

Conversation

RDjarbeng
Copy link
Owner

Added a countdown to 1st January or New year

@RDjarbeng RDjarbeng added the enhancement New feature or request label Dec 30, 2021
@RDjarbeng RDjarbeng requested a review from nyakotey December 30, 2021 18:10
@netlify
Copy link

netlify bot commented Dec 30, 2021

✔️ 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

Copy link
Collaborator

@nyakotey nyakotey left a 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 :)

  1. lots of commented section in clock.js. If you don't mind taking some out
  2. the startTime() in the clock.js seems not be in use. if you can revisit that and take that out
  3. if its possible, move the other time related functions in app.js that aren't coupled with any DOM element into clock.js
  4. this day${d>1? 's':''} in app.js will not be needed, that will be done with html & css

@RDjarbeng RDjarbeng changed the title Create a countdown to 1st Month of the year Create a countdown to 1st day of the year Dec 31, 2021
Rdjarbeng added 2 commits December 31, 2021 13:29
Add function for counting days (accounting for leap year)
@RDjarbeng
Copy link
Owner Author

Made changes to the code in terms of readability

1 similar comment
@RDjarbeng
Copy link
Owner Author

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>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:(

@RDjarbeng
Copy link
Owner Author

RDjarbeng commented Dec 31, 2021 via email

@RDjarbeng
Copy link
Owner Author

Fixed #30
Added a quick authors page

@RDjarbeng RDjarbeng merged commit 19441d9 into master Dec 31, 2021
This was referenced Dec 31, 2021
Copy link
Collaborator

@nyakotey nyakotey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice addition :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants