To interact with the em element,  start setting the ID with id="".

<html>
<body>
<img src="https://mimo.app/r/jo.png">
<h3>Jolene</h3>
<p>
<em id="status">offline</em>
</p>
</body>
</html>

]]>

Make sure to type id="".