var symbol = prompt(\"Please choose a symbol\"); var side = prompt(\"Choose the length of the square\"); var count1 = 1; var count2 = 1; while (count1 <= side) {
Use a tag for a break. The \r or \n are line breaks, but HTML ignores most whitespace.
\r
\n