codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  How do I write a while-loop javascript using rgb(..., ..., ...)?  digic25 at 18:26 on Thursday, March 02, 2006
 

Just a little background on my problem.. I need to take a programing class to graduate college and I have never been good with code so I need some help.

The teacher is asking for a script with a while-loop using rgb(..., ..., ...) that has to have the word Hello (10 times) in it, and the font color has to run from red (top) to green (bottom).

The other question is write a script, using if-else to produce the following...
A random number between 0.5 and less than 1.
x is a decimal number between 0.5 and less than 1.
We are using random number of the Math object

This exercise requires you to put 2 statements in braces for the if-part and 2 statements in braces for the else-part.

Any help would be greatly aprreciated..

Thanks
Tom








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  help ! toString method
•  Re: Im trying to creat an exception class
•  newbee Webservice Help...plz.....
•  Please help with the following problem
•  Re: need help with event please..
•  example drag image/button/something causes text reflow?
•  Trying to add animation to web site
•  Re: need help
•  Re: Start:applet not initialized


Recent Articles
What is a pointer in C?
Multiple submit buttons with form validation
Understanding Hibernate ORM for Java/J2EE
HTTP screen-scraping and caching
a javascript calculator
A simple way to JTable
Java Native Interface (JNI)
Parsing Dynamic Layouts
MagicGrid
Caching With ASP.Net


© Copyright codetoad.com 2001-2006