...

View Full Version : JavaScript Help!!!!!



madnick
06-05-2006, 10:49 AM
Hey everyone

I was doing a mock exam for a exam I am doing later on this year. I am stuck on a few questions. Could anyone help? Thanks everyone!

Question 1: Using a For Loop
Construct a form with two buttons, labelled PLUS and MINUS respectively, which will the number 1 to 10 with the + or - as appropriate using the for loop statement. It should look like the image below:
http://i83.photobucket.com/albums/j300/planetnickproductions/80141b75.jpg

Question 2: Using a While Loop
Construct a form with two buttons, labelled PLUS and MINUS respectively, which will the number 1 to 10 with the + or - as appropriate using the while loop statement. It should look like the image below:
http://i83.photobucket.com/albums/j300/planetnickproductions/80141b75.jpg

Now this one I am really confused with!!!
Question 3: Displaying Object Properties
Construct a webpage which will display all of the properties of the document object, displaying six properties per line of text and sparating each property with a semi-colon and a space. It should look something like this:
http://i83.photobucket.com/albums/j300/planetnickproductions/9f8444e0.jpg

Thanks for all your help - im only a rookie coder and this would mean so much to me! Thanks again!

Philip M
06-05-2006, 02:56 PM
I am afraid that the rules of this forum say that we are not allowed to do your homework or exam for you. And in the long run it is not in your interests that anyone does so. If you rely on others to do your work you will never learn, and if you do not master the groundwork and early stages you have no hope of grappling with more advanced programming. So we are beig cruel to be kind.

So don't thank people prematurely for their help - as I say, you are supposed to do the work yourself.

If you make an attempt yourself and post your work then someone might point out some improvements and/or corrections.

madnick
06-05-2006, 02:56 PM
Yeh but its not homework or an exam - its the questions i got wrong in my practise paper

Beagle
06-05-2006, 03:00 PM
You're question has already been rebuffed here:

http://www.codingforums.com/showthread.php?t=2090

Kor
06-05-2006, 03:03 PM
In other words... What have you done so far? Where is the stuck point?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum