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
© Kameelah Janan Rasheed. All rights reserved.
Orange Tangent Study (est. 2020) is a boutique consultant service that nurtures tentacular and transdisciplinary projects. Orange Tangent Study is facilitated by me, Kameelah Janan Rasheed.
I began Orange Tangent Study because I needed and outlet for what I believe I do best: thinking alongside my community. I often have sprawling and generative conversations and I wanted to share this collaborative thinking process with others.
While Orange Tangent Study is a business, it is also an extension of my art practice which is centered on learning and belief — or what, why, and how do we decide to invest in particular knowledges.