http://codepen.io/abdulahhamzic/pen/xVMXQa
This project is a challenge for me. Trying to place the letters of userWord in five different boxes, I encountered an issue where only every second letter appears when using this JavaScript code. It's puzzling why it happens this way.
for (var i = 0; i < 5; i++) {
document.getElementsByClassName("letters")[input].childNodes[i].innerHTML = "<h1>" + userWord[i].toUpperCase() + "</h1>";
}
I'm still searching for a solution. :)