Use the browser tools (console) only -- no HTML, no files

  1. Translate Dragging.html to Turkish. 
  Also modify button colors as you like.
  
  2. Looping a triangle exercise at the end of Chap 2:
  s=''; while (      ) {s=   ; console.log(s)}
  (just complete this line, no need to define a function)
  
Put into Moodle a single screenshot showing the console log.

Integer coordinates

TOUCH

MOUSE


Sample code


Ref: Draggable Element in JS