The array is created with the statement new Array with a name. Ex.
coin = new Array();
coin = "heads.jpg";
coin = "tails.jpg";
document.write(“Every evening I enjoy ” + tvshow);
* With Java, when you need to combine other text with variable output use the + symbol to concatenate ( connect or link in a series or chain)
window.prompt(“What is your favorite color?”, “crimson”);
To store the answer, set a variable.
var favcolor=window.prompt(“What is your favorite color?”, “crimson”);
"StudyBlue is great for studying. I love the study guides, flashcards and quizzes. So extremely helpful for all of my classes!"Alice , Arizona State University
"I'm a student using StudyBlue, and I can 100% say that it helps me so much. Study materials for almost every subject in school are available in StudyBlue. It is so helpful for my education!"Tim , University of Florida
"StudyBlue provides way more features than other studying apps, and thus allows me to learn very quickly!Â I actually feel much more comfortable taking my exams after I study with this app. It's amazing!"Jennifer , Rutgers University
"I love flashcards but carrying around physical flashcards is cumbersome and simply outdated. StudyBlue is exactly what I was looking for!"Justin , LSU