+ 1

Guys wht kind of function i need to use to make object move in javascript?

slide and move to the right

15th Apr 2019, 1:54 AM
Yusua
Yusua - avatar
2 Answers
+ 3
The functions you use are: document.querySelector function to select an element. style function to get access to css selectors.
15th Apr 2019, 3:28 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 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.
15th Apr 2019, 2:57 AM
CalviŐ˛
CalviŐ˛ - avatar