SyntaxFix
Write A Post
Hire A Developer
Questions
\n will put a new line in - \n being a control code for new line.
\n
alert("Line 1\nLine 2");