Skip to content

Commit 6c9f497

Browse files
committed
Drag and Drop
1 parent 6bb16a4 commit 6c9f497

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

assets/files/drag-drop.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h2>Drag and Drop</h2>
3535
<h3>Drag the image into the rectangle.</h3>
3636

3737
<div id="div1" ondrop="drop(event)" ondragover="allowDrop(event)">
38-
<img src="lib/img/7.jpg" draggable="true" ondragstart="drag(event)" id="drag1" width="500" height="250" alt="Horse"/>
38+
<img src="assets/images/horse.jpg" draggable="true" ondragstart="drag(event)" id="drag1" width="500" height="250" alt="Horse"/>
3939
</div>
4040

4141
<div id="div2" ondrop="drop(event)" ondragover="allowDrop(event)"></div>

assets/images/horse.jpg

394 KB
Loading

0 commit comments

Comments
 (0)