Question 71

Given the HTML below:

Which statement adds the priority-account CSS class to the Universal Containers row?
  • Question 72

    is below:
    <input type="file" onchange="previewFile()">
    <img src="" height="200" alt="Image Preview..."/>
    The JavaScript portion is:
    01 functionpreviewFile(){
    02 const preview = document.querySelector('img');
    03 const file = document.querySelector('input[type=file]').files[0];
    04 //line 4 code
    05 reader.addEventListener("load", () => {
    06 preview.src = reader.result;
    07 },false);
    08 //line 8 code
    09 }
    In lines 04 and 08, which code allows the user to select an image from their local computer , and to display the image in the browser?
  • Question 73

    Refer to the following code:
    01 function Tiger(){
    02this.Type = 'Cat';
    03 this.size = 'large';
    04 }
    05
    06 let tony = new Tiger();
    07 tony.roar = () =>{
    08 console.log('They\'re great1');
    09 };
    10
    11 function Lion(){
    12 this.type = 'Cat';
    13 this.size = 'large';
    14 }
    15
    16 let leo = new Lion();
    17 //Insertcode here
    18 leo.roar();
    Which two statements could be inserted at line 17 to enable the function call on line 18?
    Choose 2 answers.
  • Question 74

    Given the following code:
    What is the output of line 02?
  • Question 75

    After user acceptance testing, the developer is asked to change the webpage background based on user's location. This change was implemented and deployed for testing.
    The tester reports that the background is not changing, however it works as required when viewing on the developer's computer.
    Which two actions will help determine accurate results?
    Choose 2 answers