DOM Actions Flashcards

1
Q

How to find an element by id?

A

document.getElementById(“#element_id_sample”)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly