reordered js
This commit is contained in:
17
javascript/1-js-variables/README.md
Normal file
17
javascript/1-js-variables/README.md
Normal file
@ -0,0 +1,17 @@
|
||||
###Javascript Variables, Lists and Objects
|
||||
|
||||
Create a variable named byte and set it equal to "school".
|
||||
|
||||
Create an array named instructors and have it contain the strings "Armen", "Chris", and "Greg"
|
||||
|
||||
Create an array named students and have it contain the strings "Adolfo", "Benny", "Billy", "Brendan"
|
||||
|
||||
Create an object with the following key-value pairs- "byteAcademy":byte, "instructors":instructors, "students":students
|
||||
|
||||
Append the contents of the object to the "printout" div element. It should read like this:
|
||||
|
||||
byteAcademy - School
|
||||
|
||||
instructors - Armen, Chris, Greg
|
||||
|
||||
students - Adolfo, Benny, Billy, Brendan
|
Reference in New Issue
Block a user