Skip to content

Commit

Permalink
"Implement word replacement for message content."
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-Cheikh committed Mar 27, 2024
1 parent 69d1a3d commit 970ce28
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chatroom.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1><i class="fa fa-comment"> </i> Random Chat</h1>

<!-- ===========El ba3then =============================================================================================================================================================================================================================================================================================================================================================================================================== -->

<form id="submitForm" class="message-form" action="https://script.google.com/macros/s/AKfycbzkUPuvLYnGs46DCLLoRZ4Ao0-i95nVP3_fuDA6mBxLPc2o0DjtkCvHwADLmsknNi_3/exec" method="POST">
<form id="submitForm" class="message-form" action="https://script.google.com/macros/s/AKfycbyp9144IeSyBYioJGdOcCVCW7c5f0Zk_XvpfrlxX3u4Mv4wi2OS25jq5Sp8mmDezJM/exec" method="POST">
<input name="message" id="messageInput" placeholder="Type your message here" required pattern=".*\S+.*">
<button id="sendButton" type="submit" class="submit-button"><i class="fa fa-paper-plane" id="fa"></i>&ThickSpace; <span class="button-hide" >send</span></button>
</form>
Expand Down
2 changes: 1 addition & 1 deletion data-display-resource.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

// Function to fetch data from Google Sheets
function fetchData() {
fetch('https://script.google.com/macros/s/AKfycbx7tUfYv9-ikirBOEHU3FCmPEme-gyIylBEyTk8ijIK1N95ehz-Gc_wIoK_kpRZ9r2C/exec')
fetch('https://script.google.com/macros/s/AKfycbyp9144IeSyBYioJGdOcCVCW7c5f0Zk_XvpfrlxX3u4Mv4wi2OS25jq5Sp8mmDezJM/exec')
.then(response => {
if (!response.ok) {
throw new Error('Network response was not ok');
Expand Down
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"></head>
<body >

<body>
<main>
<div class="main-header">
<h1><i class="fa fa-mail-bulk"> </i> Chat App</h1>
<h1><i class="fa fa-mail-bulk"> </i> Ib3athli Chat</h1>
</div>
<center>
<div class="container mt-5">
Expand Down
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$(document).ready(function() {
// Function to fetch data from Google Sheets
function fetchData() {
fetch('https://script.google.com/macros/s/AKfycbzkUPuvLYnGs46DCLLoRZ4Ao0-i95nVP3_fuDA6mBxLPc2o0DjtkCvHwADLmsknNi_3/exec')
fetch('https://script.google.com/macros/s/AKfycbyp9144IeSyBYioJGdOcCVCW7c5f0Zk_XvpfrlxX3u4Mv4wi2OS25jq5Sp8mmDezJM/exec')
.then(response => {
if (!response.ok) {
throw new Error('Network response was not ok');
Expand Down

0 comments on commit 970ce28

Please sign in to comment.