Write client from databes JavaScript [closed]

Hi I´m new to webcoding and i have a problem with writing client from database(Javascrit) to page.
Could you help ? Thank you

My code HTML
My code JS

I have tried to add new class and constructor but it didn´t help. I´m learning from online course and there is no ansver