Successfully created 2-way chat framework on the web with only CSS and HTML

Web-based chat tools are now relatively popular and nothing special. Most websites (especially shopping websites, service advisors) are usually built into a small chat frame, automatically pop up from a corner of the browser, help counselors, caregivers Customer care can connect and chat directly with visitors.

In fact, most web chat features of this type have in common that they are developed based on JavaScript. Along with other popular programming languages ​​such as CSS and HTML, JavaScript is one of the programmers' first choice in creating web applications and interactive websites.

Successfully created 2-way chat framework on the web with only CSS and HTML Picture 1

  1. Kotlin - the fastest growing programming language in the world

According to statistics of W3Techs, JavaScript is currently used by 95.2% of websites worldwide. While JavaScript does not always contain advantages, the simplicity makes it the first choice for web developers.

In the past, many developers tried to create two-way web chat frames without using JavaScript. They will have to use some other languages ​​like Python and also have to add some libraries to the list of requests. This generally makes creating a two-way web chat framework with non-JavaScript languages ​​much more complicated and time consuming.

Successfully created 2-way chat framework on the web with only CSS and HTML Picture 2

  1. The worst programming languages ​​you need to avoid if you don't want to "bury the youth"

However, on May 7, a software developer named Kevin Kuchta, from San Francisco, USA, did what no other web developer did before, it was created. create a two-way chat framework with full functionality only with CSS and HTML.

Of course some may mention the case of Harmless, a basic CSS chat application created last year. Unfortunately, this chat frame contains some minor inconveniences such as the infinite DOM development and there is no way to distinguish between chat frame users. So I don't think Harmless is really a complete web chat application.

Back to Kevin Kuchta's product. This developer described his results in detail on GitHub's css-only-chat page. Basically, this is a really strange "async web chat frame, in that it doesn't use any JS on the frontend", and of course can also be used to send messages back and forth between multiple user in web browser without reloading the page.

Successfully created 2-way chat framework on the web with only CSS and HTML Picture 3

  1. The development flow of programming languages, new problems that are not new

Kevin Kuchta's CSS-based chat framework works by combining background images downloaded through pseudoselectors and the constantly loading index page - making the conversation smooth and the message displayed across multiple programs. Browser.

Besides, this developer also explained in detail the inner workings of the CSS chat frame on the project page on GitHub, detailing what happens after the data is sent by one of the users and When another person on the other end receives the message.

Kevin Kuchta said the inspiration made him decide to create a JavaScript asynchronous web chat framework like this from security researcher Davy Wybirus - who recently gave details on Twitter about how websites have You can use only CSS and HTML to track mouse movement in the browser window from another web browser - a tracking method that works in Tor Browser.

In addition, some CSS-based user tracking methods can also be used to gather information such as screen resolution, browser name, link click times, as well as system information. run by checking supported fonts (fonts).

Successfully created 2-way chat framework on the web with only CSS and HTML Picture 4

  1. Microsoft officially launched Visual Studio 2019 for Windows and Mac with many new features, invited to download and experience

Putting aside the tricks of CSS, it can be said that the success of Kevin Kuchta has opened up great potential in building web applications without relying on typical high-level programming languages. is JavaScript, while efficiency and stability are still guaranteed.

Clearly, this is not considered a complete product, but with a few simple tweaks in the near future, Kevin Kuchta's chat frame could really be a viable idea to apply to reality with the role. Game is a simple web-based chat application that is equally effective.

4.5 ★ | 2 Vote

May be interested

  • eQuiz - Multiple choice test on HTML knowledgeeQuiz - Multiple choice test on HTML knowledge
    in this test, we will proceed with the small html test, there will be 30 questions in total with no response time, you must choose the answer in each question. can continue to the next sentence.
  • Paths in HTMLPaths in HTML
    you can find links (links) throughout the web. link allows clicking to switch to another page.
  • How to install Microsoft NET Framework 4.5 full for Windows 7, 8 with Windows UpdateHow to install Microsoft NET Framework 4.5 full for Windows 7, 8 with Windows Update
    in the article below, tipsmake.com will guide you on the necessary steps to install net framework 4.5 on windows 7 platform. technically, there are many ways to install the .net framework platform on the operating system. windows such as downloading offline files, installing via windows features ...
  • Why write neat and organized HTML?Why write neat and organized HTML?
    you will get many benefits from writing clean and precise html code. here's why it's a good idea to write optimal html code.
  • HTML formHTML form
    the form in html contains form elements - the element types that take input data such as filling in text fields, checkboxes, buttons, submit buttons ...
  • How to enable .NET FrameWork on Windows 10?How to enable .NET FrameWork on Windows 10?
    currently microsoft has provided links to download .net framework installer on their home page, but for those who do not know how to download software from microsoft, or the internet connection speed is not fast ... then try it. follow the following way.
  • Fix error 0x800F081F when installing .Net Framework 3.5Fix error 0x800F081F when installing .Net Framework 3.5
    error 0x800f081f makes you unable to install .net framework. how to fix x800f081f error? please see the instructions for fixing this error of network administrator, very simple but extremely effective.
  • HTML5 and CSS3HTML5 and CSS3
    basically, html pages are like skeletons - the basic framework - of a web page - while css files will specify how the elements of a page should be displayed.
  • How to use the extended chat utility on ViberHow to use the extended chat utility on Viber
    viber's extensive chat utility has created new experiences for users when they immediately access content in the chat interface without having to exit the conversation.
  • Style properties in HTMLStyle properties in HTML
    the style attribute specifies the style for the html element.