How to make an chat bar system

how do i make a chat system iam not good at coding but i heard about a coding line

console.log

does it have to do anything with it?

no it does not. correct me if I’m wrong