JavaScript
1
Вклад в тег
for (let i = 0; i < answer_comment.length; i++) {
viewAnswer[i].addEventListener.addEventListener('click', function(){
answer_comment[i].style.display = 'block';
this.style.display = 'none';
close[i].style.display = 'block';
})
}