As treasurer of your investment club, you are asked to create a Web page on your site that calculates stock dividend reinvestments. The Web page should allow users to enter the current price of a stock; the number of shares owned; the amount of dividends the company pays on each share; and how often the company pays dividends. After validating the fields, a pop-up-window with the the users name, summary of information entered, and time it will take to earn a new share of stock by investing the dividends should be displayed.
Final Project 2 of 2
Adding to Project 1 do the following:
When the user first enters your site you are to ask them for their name. Create a screen with a label asking for their first name and provide a text box for entry. Have a button for them to click when complete.
Create a cookie with this information.
When the user returns to the site, if they have logged in before, have them go directly to your "Dividend Calculation" page. Welcome them by Name.
Ask them to provide the date by picking the date from a pop up calendar (coded in javascript...of course). Note: use the resources from your book and that I provided in Blackboard to find the script on the internet.