This website works better with JavaScript
Página inicial
Explorar
Ajuda
Entrar
AlexReznichenko
/
homeworks
Observar
1
Favorito
0
Fork
0
Arquivos
Issues
0
Pull Requests
0
Wiki
Tree:
cae93e136b
Branches
Tags
master
homeworks
/
14
/
README.md
README.md
578 B
Histórico
Raw
Chat Homework
Stage 0
jsonPost()
Stage 1
anonymous function createDOM()
async function sendMessage(nick, message)
Stage 2
async function getMessages() -- отрисовка всех сообщений с 0
Stage 3
async function getNewMessage() -- отрисовка только новых сообщений
Stage 4
setInterval(async () => getNewMessage(), 3000)
Stage 5
async function sendAndCheck(nick, message)
async function checkLoop()
Stage 6
async function jsonPost(url, data)