Question: 1. Using Javascript or Jquery, how would you select the text foo from the following element? foo 2. How would you access the number

1. Using Javascript or Jquery, how would you select the text 7. How would you add the number 9 to the end of the following array? var data = [3, 8, 23, 55, 10]; Write a

1. Using Javascript or Jquery, how would you select the text "foo" from the following element? foo 2. How would you access the number 7 from the following object? var data = {foo: 8, bar: 32, baz:7}; 3. Write a statement to loop through the following object and log each name to the browser console. var data = {1: Joe', 2: 'Bob', 3: Jim'}; 4. Write a statement to loop through the following array and log each number to the browser console. var data = [89, 5, 3, 54, 23]; 5. What is the difference when you declare a variable with "var" vs. "let"? 6. How would you merge the following two arrays together so it becomes [1, 3, 8, 44, 99]? var foo = [1, 3, 8]; var bar = [44, 99]; 7. How would you add the number 9 to the end of the following array? var data = [3, 8, 23, 55, 10]; Write a javascript and/or JQuery statement that would hide the words " this text should be invisible." Then, change the text " this text should be bold " to bold.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!