Well done!

You have completed CSS Practice!

Quiz Question 1 of 3

Given the following HTML:

<html>
  <body>
    <div id="trick-question">
      <p></p>
      <div>
        <label>
          Got it!
          <input type="checkbox" class="trick-question" />
        </label>
      </div>
    </div>
  </body>
</html>

What would the following code output?

const element = driver.findElement(By.css("#trick-question"));
element.getTagName().then(tag => console.log("Tag name is " + tag));

Choose the correct answer below:

Skip Quiz Review Video