Which expression outputs the screen width of the element with the ID card-01?
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?
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 ’).innerHTM
E . lenght*e
Answer: A
Latest JavaScript Developer I Dumps Valid Version with 144 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments