arrays

+2 william appiah-dankwah · June 10, 2014
i have made an array witch i want to try and use other statements i have learnt to finish of the code, hears my code what can i add to it to make it more interesting 

var gold = new Array();

gold[0] = "goddfellaz";
gold[1] = "sk vibemakers"
gold[2] = "heartless crew"
gold[3] = "rolldeep"
gold[4] = "wolfpack"
gold[5] = "payasyougo"

Post a Reply

Replies

- page 3
Oldest  Newest  Rating
0 william appiah-dankwah · April 3, 2015
does the loop work for you?
0 Sho Carter · April 3, 2015
from the new post you created or in this post?
0 william appiah-dankwah · April 3, 2015
this post? 
0 william appiah-dankwah · April 3, 2015
this post ok
0 Sho Carter · April 3, 2015
My code (image i uploaded) works.
0 william appiah-dankwah · April 3, 2015
ok does it loop lol i know it works i wrote the code it does not loop do you really code?
0 william appiah-dankwah · March 26, 2015

var List = new Array() 

 List[0] = pic/photo-1.JPG;
 List[1] = pic/photo-2.JPG;
 List[2] = pic/photo-3.JPG;

document.write(List[0]);

back with an array question why can't i get an image from a file for an array like how i have written the code?

0 william appiah-dankwah · March 26, 2015
hay look lima i don't know what your saying that but i asked for help with an array
0 Sho Carter · April 4, 2015
Please be specific by stating which context you mean....
Are you talking about looping through the images (in the array) you first posted, or are you talking about looping over the images over a few seconds (Interval)?

And yes, I code thank you. 
0 william appiah-dankwah · April 4, 2015
have you written a code that works in a loop over a few second interval?? i am talking about my image array post the loop is not working did you notice that?

Javascript

107,184 followers
About

A scripting language that is added to standard HTML to create interactive effects, apps, games for the browser.

Links
Moderators