getElementById in React issues

Hey there to all who read. I’m currently working on a project for my college in React and I’m having an issue getting the elements by ID and just want a push in the right direction. Somehow I got a nice understanding of other things more in react and this is making me feel like I don’t know anything :joy:

For us to help you further you will need to post a link to your project code and explain what issues you are having.