DRAG DROP
You have the following markup:
You need to add a dashed border programmatically to the div.
You write the following code.
How should you complete the code? To answer, drag the appropriate code elements to the correct targets in
the answer area. Each code can be used once, more than once, or not at all. You may need to drag the split
bar between panes or scroll to view content.
Select and Place:
Explanation:
https://www.w3schools.com/jsref/prop_style_border.asp
Target 3 : “border”
Target 3: ” border” with space at the front.
Target 2 : option.appendChild(newOption);
safaa is correct
obakasan is right Target3: ” border” with space at the front
fbasa and safaa is right
Target 3: “border” or ” border”
both are right. Space doesn’t matter.
Vinanti, space matter because it is about concatenation of class names. if you do not put space, you’ll have as className = “yellowborder” in lieu of ‘yellow border’ which means two classes
Tried it in w3schools example
Target3: ” border” so classes are “yellow border”
Target 3: ” border” with space at the front.
– with space the class will be “yellow border”
– without space the class will be “yellowborder”
according to the question you will get dashed border if you concatenate with space ” border”
Here’s the newest dump with the latest questions from September 2017:
http://optifiles.com/ProgrammingInHTML
Here’s the newest dump with the latest questions from September 2017:
http://optifiles.com/ProgrammingInHTML
What a dumb ass give answers on that????