by Brendon Thiede
What website lets you customize something?
Structure the page
Inputs, textarea, select
Make it look nice
.theme-blue {
background: #dbeafe;
border-color: #2563eb;
}
.theme-amber {
background: #fef3c7;
border-color: #d97706;
}
Make it respond
const titleInput = document.querySelector("#titleInput");
const messageInput = document.querySelector("#messageInput");
previewTitle.textContent = titleInput.value;
previewBody.textContent = messageInput.value;
titleInput.addEventListener("input", updatePreview);
colorSelect.addEventListener("change", updatePreview);
Stretch, grab water, and come back ready to build.
Build an interactive message box.
git add .
git commit -m "Complete message box"
git push
Who wants to share their message box?
Game Engine Tools
Learn how to use free tools to build games