JavaScript-Developer-I Exam Question 11

Refer to HTML below:
<p> The current status of an Order: <span id ="status"> In Progress </span> </p>.
Which JavaScript statement changes the text 'In Progress' to 'Completed' ?
  • JavaScript-Developer-I Exam Question 12

    Refer to HTML below:
    <div id ="main">
    <div id = " card-00">This card is smaller.</div>
    <div id = "card-01">The width and height of this card is determined by its contents.</div>
    </div>
    Which expression outputs the screen width of the element with the ID card-01?
  • JavaScript-Developer-I Exam Question 13

    Which statement accurately describes the behaviour of the async/ await keyworks ?
  • JavaScript-Developer-I Exam Question 14

    Given the code below:

    What happens when the code executes?
  • JavaScript-Developer-I Exam Question 15

    Refer to the following array:
    Let arr1 = [ 1, 2, 3, 4, 5 ];

    Which two lines of code result in a second array, arr2 being created such that arr2 is not a reference to arr1?