Add text cursor on hover and compile code