Which five JavaScript code segments should you use?

DRAG DROP
You have the following HTML markup.

You need to ensure that when a user presses btnDraw, a rectangle that has the following characteristics is drawn:
• The y-coordinate must equal 10.
• The x-coordinate must equal 10.
• The rectangle must have a height and width of 100.
The solution must use local variables only.
Which five JavaScript code segments should you use? Develop the solution by selecting and arranging the required code blocks in the correct order.
Select and Place:

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.