Vendosja e Atributeve në JavaScript
setAttributeЗадание 1
Jepet elementi:
html<input id="elem">
Vendosni atributin e tij value në vlerën
'text'.
Задание 2
Jepet elementi:
html<input id="elem">
Vendosni atij atributin class në vlerën
'valid'.