How should you complete the relevant code?

DRAG DROP
You develop an HTML5 webpage. You have the following HTML markup:

You need to update the content of the DIV element when the mouse hovers over an image and
when the mouse coordinates change.
How should you complete the relevant code? (To answer, drag the appropriate code segment to the
correct location or locations in the answer area. Use only code segments that apply.)

DRAG DROP
You develop an HTML5 webpage. You have the following HTML markup:

You need to update the content of the DIV element when the mouse hovers over an image and
when the mouse coordinates change.
How should you complete the relevant code? (To answer, drag the appropriate code segment to the
correct location or locations in the answer area. Use only code segments that apply.)

Answer:



Leave a Reply 3

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


rik

rik

This is another question that doesn’t seem to make sense (to me).
With box2 set to ‘position:absolute’ (and no position value for box1), the actual positioning of box 2 becomes independant of the positioning of box1 (box2 is removed from ‘normal flow’). Box2 should be set to either ‘position:static’ (the default) or ‘position:relative’…