simple library-in-one file to practice object constructors, the dialog tag and comments for code readability. Assignment from The Odin Project!
-
Updated
Sep 17, 2024 - HTML
simple library-in-one file to practice object constructors, the dialog tag and comments for code readability. Assignment from The Odin Project!
A simple project used to gain exposure to object constructors - like JavaScripts Date object - and their built in props and methods. Furthermore, I used an event listener, "change", on an HTML <select> element. Inside the event listener I used a switch statement to return a formatted date string relative to selected option.
Add a description, image, and links to the object-constuctors topic page so that developers can more easily learn about it.
To associate your repository with the object-constuctors topic, visit your repo's landing page and select "manage topics."