Skip to content

Commit 853fb60

Browse files
Update index.html
Signed-off-by: abdurhamanmohammeda-a11y <abdurhamanmohammeda@gmail.com>
1 parent 1b465ed commit 853fb60

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,17 @@ <h2>👨‍🔧 Request Expert Advice</h2>
178178
}
179179
</script>
180180

181+
<script>
182+
async function sendDataToBackend(data) {
183+
const url = "URL_API_KEE_KANA_FAKKATA"; // Boru ijaarrama
184+
try {
185+
const response = await fetch(url, {
186+
method: 'POST',
187+
body: JSON.stringify(data)
188+
});
189+
alert("✅ Data sent to Abdurhaman's Database!");
190+
} catch (error) {
191+
console.error("Error:", error);
192+
}
193+
}
194+
</script>

0 commit comments

Comments
 (0)