Skip to content

jhoni4/REINDEER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

REINDEER

Instructions

Paste the following code into the of the HTML file.

Paste the following code into your JavaScript file.

var colors = ["Blue", "Red", "Orange", "Purple", "Hazel", "Aquamarine", "Periwinkle", "Azure", "Fuchsia", "Chocolate", "Amber", "Amaranth"]; var reindeer = ["Dasher", "Dancer", "Prancer", "Vixen", "Comet", "Cupid", "Donner", "Blitzen"];

var hohohoElement = document.getElementById("coloredReindeer"); Your task is to loop through all the reindeer in the array, and add the name of the reindeer to the single HTML

element provided. The name of the reindeer should be prepended with the corresponding color from the other array.

For example:

Blue Dasher Red Dancer etc...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published