だから私はこのJavaScriptに取り組んでおり、マウスオーバーで別のHTML要素を表示/非表示にしたいのですが、うまくいきません。HTMLは次のとおりです。
<div class='post' onmouseover="document.getElementsByClassName('another_element').style.display='inline';" onmouseout="document.getElementsByClassName('another_element').style.display='none';">