Currently I have window.alert('Wrong Answer ' +why+ '' +cite); I probably should use a modal instead,but it's easier to use an alertbox
Asked
Active
Viewed 321 times
-4
-
https://stackoverflow.com/help/how-to-ask – Mitya Feb 16 '18 at 16:51
-
1Use `\n`. That is the "line break" character: `alert(\`Wrong answer:\n${why}\`)` – Derek 朕會功夫 Feb 16 '18 at 16:51