✅ How JavaScript querySelector works? | How JavaScript innerHTML works? [Practical Example-Beginner]

preview_player
Показать описание
In this coding challenge, You will learn how to use JavaScript querySelector method? How to use JavaScript innerHTML property?

Link for the course folder:
Рекомендации по теме
Комментарии
Автор

Which method is best and why:

Document. write (<h1> ...</h1>)
or
= etc.

Thanks!

zooneyl
Автор

Does getElementById work like querySelector where I can change the style of the element, like change the left and or top position, for like a button that moves when you click it?

ImUni