![css](https://habrastorage.org/r/w120/webt/5a/6c/29/5a6c295a5de0d066850531.png)
CSS
12
Вклад в тег
footer {
display: flex;
justify-content: space-around;
}
let inps = document.querySelectorAll('input'),
txt = document.querySelector('.box_text');
inps.forEach((item) => {
item.addEventListener('click', targetItem)
})
function targetItem(event) {
let target = event.target;
txt.innerHTML = 'Результат: ' + target.value;
}