Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
7 views3 pages

Chart

The document outlines the structure of a Live Trading Chat web application. It includes HTML for the chat interface, CSS for styling, and JavaScript for functionality. Users can enter their name and messages to participate in the chat.

Uploaded by

ekomkpo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views3 pages

Chart

The document outlines the structure of a Live Trading Chat web application. It includes HTML for the chat interface, CSS for styling, and JavaScript for functionality. Users can enter their name and messages to participate in the chat.

Uploaded by

ekomkpo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

<!

DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Trading Chat</title>
<link rel="stylesheet" href="chat.css">
<style>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Trading Chat</title>
<link rel="stylesheet" href="chat.css">
</head>
<body>
<div class="chat-container">
<h2>📣 Live Trading Chat</h2>
<div id="chat-box"></div>

<form id="chat-form">
<input type="text" id="username" placeholder="Your name" required />
<input type="text" id="message" placeholder="Type a message..." required />
<button type="submit">Send</button>
</form>
</div>

<script src="chat.js"></script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Trading Chat</title>
<link rel="stylesheet" href="chat.css">
</head>
<body>
<div class="chat-container">
<h2>📣 Live Trading Chat</h2>
<div id="chat-box"></div>

<form id="chat-form">
<input type="text" id="username" placeholder="Your name" required />
<input type="text" id="message" placeholder="Type a message..." required />
<button type="submit">Send</button>
</form>
</div>

<script src="chat.js"></script>
</body>
</html>
body {
font-family: Arial, sans-serif;
background: #f1f1f1;
display: flex;
justify-content: center;
padding-top: 50px;
}
.chat-container {
background: #fff;
width: 400px;
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#chat-box {
height: 300px;
border: 1px solid #ccc;
padding: 10px;
overflow-y: scroll;
margin-bottom: 15px;
background: #fafafa;
}

#chat-box p {
margin: 5px 0;
}

form {
display: flex;
gap: 10px;
}

input[type="text"] {
flex: 1;
padding: 8px;
border: 1px solid #ccc;
border-radius: 5px;
}

button {
padding: 8px 12px;
border: none;
background-color: #007bff;
color: white;
border-radius: 5px;
cursor: pointer;
}

</style>

</head>
<body>
<div class="chat-container">
<h2>📣 Live Trading Chat</h2>
<div id="chat-box"></div>

<form id="chat-form">
<input type="text" id="username" placeholder="Your name" required />
<input type="text" id="message" placeholder="Type a message..." required />
<button type="submit">Send</button>
</form>
</div>

<script src="chat.js"></script>
</body>
</html>

You might also like