monkuver / html-only-chat

Async web chat without JavaScript in browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What?

Performance? No! Best code? No! Just for fun!

Inspired by @kkuchta https://github.com/kkuchta/css-only-chat

demo

How can you test it?

Clone repo by:

git clone https://github.com/iwonz/html-only-chat.git

Enter the directory and install dependencies:

cd html-only-chat && npm i

Run it:

npm run start

Wait for starting and follow to http://127.0.0.1:3000 (by default) or check your console to see actual link.

Some interesting questions

How to scroll down the list all the time with messages after redraw? (overflow-anchor I couldn't start)

Why don't work CSS selectors like :last-child :nth-child :last-of-type? (Maybe problem in Transfer-Encoding: chunked)

Have any idea? Tweet me or Email me. Thx!

About

Async web chat without JavaScript in browser

License:MIT License


Languages

Language:JavaScript 49.7%Language:CSS 31.2%Language:HTML 19.1%