Create an array that contains five, string variables. Use bracket notation [ ] to access the first item in the array and assign the results to a variable. Determine the length of the array and assign the results to another variable. Use the appropriate JavaScript code to convert either variable to all capital letters Display results that contain both variables as well as a descriptive string. For example: There are _________ items, but the first one is ___________
Use JSFiddle to write the
Include appropriate comments throughout your program: One comment at the beginning describing the purpose of the program and at least two additional comments throughout that describe each procedure.
Make sure that you have logged in to your account before you begin so that the URL with your name is displayed.
-------------------------------------------------------------------------------------------------
-
Create an array that contains five, string variables.
Use bracket notation [ ] to access the first item in the array and assign the results to a variable.
Determine the length of the array and assign the results to another variable.
Use the appropriate JavaScript code to convert either variable to all capital letters
Display results that contain both variables as well as a descriptive string. For example:
- There are _________ items, but the first one is ___________
Submit your completed JSFiddle link.
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 4 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)