<div class="title">
<div class="text">Текст</div>
<div class="arrow1"></div>
</div>
<div class="description">
text...
</div>
let title = document.getElementsByClassName('title'),
arrow1 = document.getElementsByClassName('arrow1');
title[0].onclick = function() {
arrow1[0].classList.add("arrow2");
};