Skip to content

Conversation

@cecomfort
Copy link

Digital Clock

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
What does jQuery give you that JavaScript doesn't? jQuery allows easy DOM manipulation, such as targeting a specific HTML element based on ID or class and changing some property of that element using JS. jQuery also allows cross-browser script compatibility.
Describe what the following jQuery selector would give you: $('#list') This selector would target an HTML element with an id equal to 'list'
Highlight three major things you learned about JavaScript this week? I learned JS does not use classical objects like most other programming languages, instead classes are prototypical. I also learned about callback functions, meaning functions can be passed in as an argument to other functions. Lastly, I learned how to add JS scripts to an HTML script, so that the JS is executed and rendered on a webpage.

@PilgrimMemoirs
Copy link

Digital Clock

What We're Looking For

Feature Feedback
General
Uses a JavaScript function to get the time Well Done
Uses JavaScript to manipulate the DOM Well Done
Creates a custom function to handle logic Well Done
Overall
Does getTime() need a parameter, when you're defining the function? It looks like you're not passing an argument in on when calling it.
Nice work formatting the way the time is displayed. When a function starts to deal with a lot of logic and gets long, like this, it's a good time to split the functionality between a few functions that are called inside of that one.
Great work! Submission meets all expectations for this project ⏰

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.

2 participants