# Chat App in EHTML
12 December 2023
In this article, I am going to explain how you can write chat application using [EHTML](https://github.com/Guseyn/EHTML). **EHTML (extended HTML)** is a frontend library/framework that allows you to build web apps just by focusing on HTML, meaning that the logic/functionality that you would usually write in JavaScript, you can now express via HTML. You can find the app that I am going to describe in this article on GitHub [here](https://github.com/Guseyn/simple-chat-app). The whole appication contains just one HTML page on frontend. We have two phones on one page, and we can communicate between those two phones: As we see, we have two phones with chat apps on them. First phone belongs to Alice, second one to Bob. Whenever Alice or Bob write and send messages, they appear on both devices. We are going to implement this page using [Web Sockets](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket). In the latest version of **EHTML**, we can create connections to those sockets(for each phone) right in HTML code. ``` ``` Just by using **`