Why did I choose to make this project?
to step through
to step through
to step through
to step through
Why did I choose to make this project?
Why did I choose to make this project?
to step through
to step through
to step through
The JavaScript
button1.addEventListener("click", function(){
if (word1letter1.value == "r" &&
word1letter2.value =="i" && word1letter3.value == "n" && word1letter4.value == "g")
{ alert("correct!")}
if (word1letter1.value !== "r" ||
word1letter2.value !=="i" || word1letter3.value !== "n" || word1letter4.value !== "g")
{ alert("incorrect!")}
The JavaScript
Thank you for watching!