Some Simple Conversions - Self Study Exercise
As mentioned in lecture, it is very important to be willing and able to study code on your own and try to learn from it.
Examine this page. In particular, note:
- The use of a contextual selector.
- Having different buttons - each of which invokes its own function.
- Extracting a specific part of the date from JavaScript's Date() function.
- Best Practices: We should include the *type* attribute in the button tag.