What Will Be Printed?

Report a typo

Take a look at the HTML code below.

<button type="button" class="login"></button>

When we run this Javascript code, what message will be printed on the console?

let buttonElement = document.querySelector('button');
console.log(buttonElement.classList.contains('button'));
Enter a short text
___

Create a free account to access the full topic