M
M
Michael2019-06-06 11:35:03
css
Michael, 2019-06-06 11:35:03

How to implement a chat window on the site?

I have a task to write a chat bot for a website. The chat itself will be in a separate window, like the same widgets.
And here are a couple of questions:
1) Should the structure of the html / css chat be in a separate file? How to integrate it into the site?
2) Are there any requirements for the chat? I read somewhere that there should not be head and body blocks, as well as <!doctype html>because. this file will then be added to the already finished site.
3) You can drop links in codepen or code examples for such chats.
thank you

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Usachov, 2019-06-06
@Misha5

1) Should the html/css structure of the chat be in a separate file? How to integrate it into the site?

- As convenient as it is done. Usually depends on the amount of code and goals. If you are making a simple chat for one site, you can stuff it into common styles.
-- This is bullshit. Pulling the chat code to the site with direct hands and full access to the source is not a problem. In other cases, iframe helps.
-- A simple search for 'chat' tags in the codepen turned up this .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question