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.
Building Care into Data
Shift Space (a publication exploring new media landscapes and spotlighting the inaugural Knight Arts + Tech Fellows)
March 24, 2021
Read more
I’ve grown interested in the politics of AutoCorrect and predictive tools because I have these eerie moments where I’m typing in something, and the AutoCorrect algorithm will punch out something that either sparks a new line of thinking, or invites me to consider what it means to implicitly or explicitly collaborate with machines[…] I started doing more research on machine learning and digital afterlives, datasets, and dirty data, I think in part because I grew up in East Palo Alto with proximity to Silicon Valley and was exposed to a lot of emerging technologies.