
kb-bohara
active 6h ago

Full-stack developerLives at Kathmandu Nepal
1const button = 2document.querySelector("#sendBtn");
3const message = {
4name:"",
5email:"",
6message:"",
7date: "08 Feb 2025",
8}
9button.addEventListener(
10"click", () => {io.emit({ message });
11})