Hi, I have an exam on Javascript tomorrow and I am looking at past exams papers.
Can you please help me out of this?
I know I am asking you this as if I let it all in your own hands. But I really don't know how to do it!!
This is part of multiple questions. Can you just tell me how to write the code for a simple page, starting at the new function writing (see below).
->At present, if the user clicks the æÂÂ…alculate Name?button without entering
any names, the output will default to the first name in the midName array.
Write a new function called checkNames() that displays an alert to the user
if they do not enter any names. You will also need to specify where in the
code you would place a call to this function.
Can you please help me out of this?
I know I am asking you this as if I let it all in your own hands. But I really don't know how to do it!!
This is part of multiple questions. Can you just tell me how to write the code for a simple page, starting at the new function writing (see below).
->At present, if the user clicks the æÂÂ…alculate Name?button without entering
any names, the output will default to the first name in the midName array.
Write a new function called checkNames() that displays an alert to the user
if they do not enter any names. You will also need to specify where in the
code you would place a call to this function.