Hi,
I’ve added in some “random quotes” Javascript code into a HTML page, and have been trying to create new lines for each line of a quote that is displayed on the page, but it doesn’t seem to be working.
As far as I know, from what I’ve read,
is used to start a new line… or perhaps I’ve misinterpreted this and all it does is create a new line in the source code.
This is what I have, which isn’t working. The quote displays fine, except it doesn’t format it as Blah Blah Blah as one line after the other,
Can someone tell me what I should be doing?
I would like the first random quote to appear on the page formatted like this:
Blah Blah Blah
Blah Blah Blah
Blah Blah Blah
Blah Blah Blah
I hardly ever use Javascript, so I’m not that great at it. Any help is appreciated.
Thanks!