Tried to find the bug that's preventing rendering of text in <div> element