NetSurfer
10-15-2003, 02:18 PM
Hi
I'm a distance education student studying JavaScript. I'm totally new to JavaScript and I have to do the following exercises. Can someone please help me - I can't get it right.
I'm not allowed to use an array for these exercises.
Exercise 4
Write a complete web page that uses a loop to prompt the user for the names of the players in a football team. The page should then display the names in <h1> format, each on a different line in the webpage.
Exercise 5
Write a complete web page that uses a loop to prompt the user for the names of the players in a football team. The page should then display the names, each on a different row in a table in the webpage.
Thanks
Yolandi
I'm a distance education student studying JavaScript. I'm totally new to JavaScript and I have to do the following exercises. Can someone please help me - I can't get it right.
I'm not allowed to use an array for these exercises.
Exercise 4
Write a complete web page that uses a loop to prompt the user for the names of the players in a football team. The page should then display the names in <h1> format, each on a different line in the webpage.
Exercise 5
Write a complete web page that uses a loop to prompt the user for the names of the players in a football team. The page should then display the names, each on a different row in a table in the webpage.
Thanks
Yolandi