Hey all, I'm really new to JavaScript, and I was assigned a project I'm having a lot of trouble with. Can anyone help me out?
Here's the instructions:
Open a text editor like Notepad (Windows) or TextEdit (Mac). Create a simple web page that contains each of the following items:
-All of the tags necessary to create a basic web page
-Your name in the TITLE and BODY of the page
-two LISTs (one ordered, one non-ordered) of:
1. an assignment summary and
2. your challenges in completing the assignment
-JavaScript that performs an age calculation. The script should
-Prompt the user for a date of birth (at least year and month)
-Display the month and year entered by the user
-Display the current date (use the Date() object)
-Calculates and displays the (approximate?) age difference in Years, months
-Prints out "Happy Birthday" and counts each line for each year of age (use a loop!)
here's a link to an example picture:
http://csdev.clackamas.edu/rcarino/c...avascript2.png
Any help would be appreciated. Thanks!