Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
1
Добавлен:
27.01.2024
Размер:
2 Кб
Скачать

 15 зворотній зв’язок name

surname

institut

email

text

phone

submit

function getColor(){ let col = document.querySelector("#name"); let surname = document.querySelector("#surname") let institut = document.querySelector("#institut") let email = document.querySelector("#email") let text = document.querySelector("#text") let phone = document.querySelector("#phone") col.style.background = "yellow"; surname.style.background = "yellow"; institut.style.background = "yellow"; email.style.background = "yellow"; text.style.background = "yellow"; phone.style.background = "yellow"; }

{ background: orange; } .title { font-weight: 700; font-style: italic; } img { margin-top: 50px; width: 500px; height: 500px; object-fit: contain; }

Соседние файлы в папке web лабки