javascript code

Nursingpapertutors.com stands out as a reputable writing company that delivers high-quality papers specifically designed for nursing students. With its specialization in the nursing field, commitment to quality, customization, and originality, timely delivery, dedicated customer support, and emphasis on confidentiality, Nursingpapertutors.com provides invaluable academic support to nursing students. As a reliable partner in their educational journey, Nursingpapertutors.com helps nursing students excel academically and prepares them to become competent and knowledgeable healthcare professionals.

Just need a code JavaScript code in order for the following instructions. The assignment is very quick, just need the correct information/code.

 

Instructions:

 

JavaScript requirements

·         Have a button on your midtermMovie page that prompts the user for the year they were born.    Calculate how old they are by taking the current year (2014) and subtracting their age.  Display the users age to the user along with the minimum age allowed to see the movie.

o   For example, say I am reviewing the movie Frozen (rated PG).  I ask the user to input the year they were born and they enter 1973.  I might then display “You are 41 years old.  Anyone who is 12 or younger may need parental guidance”.

o   Note, you do not need logic for this.  If/else statements are not required. 

 

What I have so far:

 

<button onclick=”myFunction()”>Age Check</button>
<script>
<script type=”text/javascript”> 
function Date();
{
var person = prompt(“Please enter the year you were born”);
var today = new Date(2014); 
var birth = new Date(); 
var age = today.getFullYear() – birth.getFullYear(); 
document.write(age); 
}
</script>

 

Also the code shouldn’t be over complicated and something as simplistic as possible and function correctly. I say this because the class is not that far ahead and it can not look as if it came from another source.

 

I have included the page to write the code to. Message me for the password

Nursingpapertutors.com places a premium on meeting deadlines. The company understands the significance of timely paper submissions for nursing students. To uphold their commitment to punctuality, Nursingpapertutors.com employs a well-organized workflow and efficient team coordination. This ensures that students receive their papers promptly, affording them ample time for review and making any necessary adjustments. Providing exceptional customer support is central to Nursingpapertutors.com’s mission. The company recognizes that nursing students may have queries or require assistance at any time of the day. As such, Nursingpapertutors.com offers 24/7 customer support to promptly address any concerns, clarify instructions, and offer updates on the paper’s progress. Their responsive support team ensures a seamless and positive experience for every student.

 

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.