Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 43 Topic 5 Discussion

Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 43 Topic 5 Discussion

JavaScript-Developer-I Exam Topic 5 Question 43 Discussion:
Question #: 43
Topic #: 5

Refer to HTML below:

This card is smaller.

The width and height of this card is determined by its

contents.

Which expression outputs the screen width of the element with the ID card-01?


A.

document.getElementById(‘ card-01 ’).getBoundingClientRest().width


B.

document.getElementById(‘ card-01 ’).style.width


C.

document.getElementById(‘ card-01 ’).width


D.

document.getElementById(‘ card-01 ’).innerHTML.lenght*e


Get Premium JavaScript-Developer-I Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.