Completion requirements

View
Make a submission
Receive a grade
Due: Friday, 8 August 2025, 9:00 PM
It is your time to apply what you have learned.
- Using VSCode, create a file inside the public folder of your your 1stQtrPortfolio and name it as Q11stNGSectionLastname.html.
- Develop a JavaScript code inside the script tag that will measure how much your favorite snack is for a lifetime
supply.
- Declare a variable to store your present age (age).
- Declare a variable to store a maximum age (maxAge).
- Declare a variable that stores an estimated daily amount (numPerDay) consumed of your favorite snack.
- Calculate the average amount you will consume for the rest of your life. totalRequired = (numPerDay * 365) * (maxAge - age)
- The result should be shown on the screen as follows: "You will need NN to last you until the ripe old age of X".
- Save your work.
- Update the index.html inside your 1stQtrPortfolio and add a link to this first non-graded exercise. Example:
- <li><a href="./public/Q11stNGSectionLastname.html"> Q1 1st Non-Graded</a>
- </li>
- Save the changes.
- Test your work by opening index.html using mouse right-click and choose live server.
- Commit (save) with your message to your Github repository.
- Submit the link to the Github live website to this assignment repository.

Reminder:
Your work should be your own, if you used an AI to do this exercise or
had referred to resource online or even offline please do a proper
citation as part of your web page (client facing)
See Guide on how to do: APA Citation: https://libguides.csudh.edu/citation/apa-7
Citing the use of an AI App/Resource: (OpenAI, personal communication, January 16, 2023).