JavaScript Assignment
On the assignments where I say "do something" you need to do an example that is quite
different from the examples that I have given. In other words, you cannot take mind and
change a few things - you need to do original work!
- Do something with an if
- Fix the mathfor1.html so that if the student gives a wrong answer, a while loop will
stay there saying no until they get the right answer and then it will give the right answer
and move on (note this does not work well in one of the browsers). You will find this
problem under Another for loop (try in both browsers) in the JavaScript examples.
- Do something with a function where you pass something to the function that the function
needs to process. I have done this in a lot of different ways in my examples - you are free
to pick any methodology that you understand.