hmcka
03-08-2012, 02:20 AM
Hey. Yes, I'm just starting at the beginning and what I'm trying to understand today is adding special characters such as line break, quotes, etc. into Javascript. I'm missing something, however. Can someone please assist?
What I'm trying to do is add a line break without having it show /n on the screen.
My Code:
<html>
<head>
<title>Exercise 6-20</title>
</head>
<body><pre>
********* *** * *\n
* * * * *** * *\n
* * * * ***** * *\n
* * * * * * *\n
* * * * * * *\n
* * * * * * *\n
* * * * * * *\n
* * * * * * *\n
* * * * * * *\n
* * * * * * *\n
* * * * * * *\n
********* *** * * *\n
</pre>
</body>
</html>
Thank you,
H
What I'm trying to do is add a line break without having it show /n on the screen.
My Code:
<html>
<head>
<title>Exercise 6-20</title>
</head>
<body><pre>
********* *** * *\n
* * * * *** * *\n
* * * * ***** * *\n
* * * * * * *\n
* * * * * * *\n
* * * * * * *\n
* * * * * * *\n
* * * * * * *\n
* * * * * * *\n
* * * * * * *\n
* * * * * * *\n
********* *** * * *\n
</pre>
</body>
</html>
Thank you,
H