document.addEventListener("DOMContentLoaded", function () {
const wordForm = document.getElementById("wordForm");
const wordInput = document.getElementById("wordInput");
const message = document.getElementById("message");
// Initialize Email.js with your email service user ID
emailjs.init("Z1v3Tk0_CueH6vCBr");
wordForm.addEventListener("submit", function (e) {
e.preventDefault();
const userWord = wordInput.value;
// Send the word to the website owner via Email.js
emailjs.send("service_bxokdxr", "template_tw45bnb", {
userWord: userWord
}).then(function(response) {
console.log("Email sent successfully:", response);
message.textContent = "your gift was received.";
wordInput.value = ""; // Clear the input field
}, function(error) {
console.error("Email send error:", error);
message.textContent = "An error occurred while sending the word.";
});
});
});
KJR Studios
Brooklyn | Berlin | Johannesburg
* learning as a process of radical slowing down/de-acceleration in the midst of the efficiency and optimization frenzy; an engagement with curiosity, serendipity, improvisation, and tangents; learning as a persistent reminder of the shifting ecologies of what it means to know something
︎ ︎ ︎
All content © Kameelah Janan Rasheed 1991-2023.
Please do not reproduce any of the content on this site without the expressed written consent of Kameelah Janan Rasheed.
For other available works, please contact my gallery NOME Gallery (Berlin, DE) at luca@nomegallery.com
Medium
Archival Inkjet Print
![]()