JS - Check if the input field equals the solution

前端 未结 3 675
孤街浪徒
孤街浪徒 2021-01-24 08:34

I\'m making a simple website for little kids with mathproblems,

the page contains a number of questions that the kids need to solve. They can press on 1 button that chec

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-24 08:45

    window.alert("try again); needs to be window.alert("try again"); You forgot to place a quote

提交回复
热议问题