Skip to content

MohammadRezaei5/Portable-Box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portable Box

In this simple exercise, we will use JavaScript and Event Handling to change the position of an element with the arrow keys and click buttons. The goal of this exercise is to gain a better understanding of how to interact with the DOM and how to respond to user input.

Some features:

  • css --> position/transform-translate/flexbox
  • js --> arrow-function/reference-function/queryselector/switch-case/eventListener/if-else/include-method

Live-Demo ----> Click Here


GIF: portable-box