Accumulated knowledge from thousands of Google searches.
As for wording your searches, you really just need to get back to first principles:
- What do you want to do? Animate the horizontal position
- The horizontal position of what? An HTML element1
Meanwhile, you also need to be careful not to misuse words such as “object”, which has a specific meaning in programming. If you search something like
animate object curly braces, you’ll get completely irrelevant results.3
Instead, search something like
animate horizontal position html element js.
 Note that “a curly brace” is too specific. The principle of animating a curly brace is the same as animating anything else you could put in an HTML element.