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

Queues - Kayla Kubicke - js-digital-clock #15

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Queues - Kayla Kubicke - js-digital-clock #15

wants to merge 16 commits into from

Conversation

ghost
Copy link

@ghost ghost commented May 22, 2017

Digital Clock

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
What does jQuery give you that JavaScript doesn't? jQuery allows you to quickly and efficiently change the DOM and helps standardize how the DOM is displayed across browsers.
Describe what the following jQuery selector would give you: $('#list') $('#list') will select the id attribute 'list' within the given HTML document.
Highlight three major things you learned about JavaScript this week? Javascript is quirky. You have a lot of flexibility which is lovely, but that can easily lead to difficult bugs if you do not know what you're doing. It's best remain aware of the most recent code you've written and, if an odd bug arises, it's best to comment out everything and then slowly uncomment. Also, console.log everything.

Kayla and others added 16 commits May 19, 2017 15:05
Basic Javascript/jQuery setup finished.
Current time and date displays on page.
Entire clock correctly changes time based on the seconds.
Updated clock changes based on several individual characteristics.
Every second the clock updates (clock updates based on 1 second intervals).
am/pm is displayed based on hour of day.
Clock changed from 24-hour format to 12-hour format.
Clock displays full year.
Hours is properly converted to 12-hour format.
Hours displays a leading zero if convertedHour only contains one number.
Incorporated Noam's suggestions to improve readability and remove unnecessary code.
Created decideLeadingZero function to evaluate if a time element requires a
leading zero.
Clock function creates a new DateTime object and returns the date and time via the object.
Refactored clock to update via a DateTime object.
@droberts-sea
Copy link

Digital Clock

What We're Looking For

Feature Feedback
General
Uses a JavaScript function to get the time yes
Uses JavaScript to manipulate the DOM yes
Creates a custom function to handle logic yes
Overall

Good work!

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

Successfully merging this pull request may close these issues.

1 participant