+ 1
Guys wht kind of function i need to use to make object move in javascript?
slide and move to the right
2 Respuestas
+ 3
The functions you use are:
document.querySelector function to select an element.
style function to get access to css selectors.
+ 2
JavaScript could manipulate the css style of the html elements. You could move an element, by setting position absolute or fixed of a inline block element and altering its left, right, top, bottom position values.