How to make website chatting

usa

Joined
Dec 20, 2023
Messages
1
Reaction score
0
hello
how to make website chatting one computer other with lan or internet
 
Joined
Aug 22, 2023
Messages
42
Reaction score
7
One might go about programming a chatbot by assigning variable names for numerous circumstances. Of course, there would be several syntax possibilities and it would prove surprisingly treacherous:
HTML:
<!DOCTYPE html>
<html>
<head>
    --
</head>
<body>
    <input type="text" placeholder="Name" id="name"/>
    <input type="text" placeholder="Inquiry" id="question"/>
    <input type="submit" value="Submit" id="submit"/>
    <script>
        //Optional: conduct onClick atop or addEventListener
        //Create if, else, statement.
        // add "name", refer to document.getElementById (+ variableName);
        //Optional: program time deadline: setInterval;
        //In particular circumstances, chat must end: assign if statement, alert("This chat must end")
    </script>
</body>
</html>
Of course, these are rather practical applications of this knowledge. There are such magnificent possibilities. One could create such fantastic things!
 
Joined
Dec 22, 2023
Messages
34
Reaction score
5
maybe you can, like,there is a server,that stores the messages,and than,make a input like the guy up here,and this server is connected in the two pc's,then when a new message apears,it swows on both computers,in the HTML ,like,there can be two variables,and this variables are the two messages,this is just a concept and i dont know how to make it
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top