How do u write yay on the first line and noob on the second line. If u run the code it comes as a single line | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How do u write yay on the first line and noob on the second line. If u run the code it comes as a single line

https://code.sololearn.com/Wu3UWspcdgnM/?ref=app

25th Mar 2018, 10:39 PM
IZzZI
IZzZI - avatar
4 Answers
+ 5
use a break element <body> yay <br> noob </body>
25th Mar 2018, 10:43 PM
ChaoticDawg
ChaoticDawg - avatar
+ 6
oh ty I just started
25th Mar 2018, 10:43 PM
IZzZI
IZzZI - avatar
+ 6
You can use the <br/> tag to create a line break, or you can put both "yay" and "noob" in separate <p> tags. By the way, move "yay" into the <body> tag. Having it in the <head> tag works, but is invalid. Ex: <p>yay<br/>noob</p> OR <p>yay</p> <p>noob</p>
25th Mar 2018, 10:46 PM
Tamra
Tamra - avatar
+ 1
oh ok
26th Mar 2018, 10:03 AM
IZzZI
IZzZI - avatar