Show Menu
Cheatography

Egzamin próbny 2022/1 Cheat Sheet (DRAFT) by

....................

This is a draft cheat sheet. It is a work in progress and is not finished yet.

DOM

docume­nt.c­re­ate­Ele­ment(element)
docume­nt.r­em­ove­Child(element)
docume­nt.a­pp­end­Child(element)
docume­nt.w­rite(text)
 

element

.innerHTML = nowa zawartość
.attri­but­e_name = nowa wartość
.style.proper­ty_name = nowa wartość
 

document

.getEl­eme­ntById(id)
.getEl­eme­nts­ByT­agName(TagName)
.getEl­eme­nts­ByC­las­sName(ClassName)
.getEl­eme­nts­ByName(Elemen­tName)