I can't figure out what I'm doing wrong with this. Its JavaScript. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I can't figure out what I'm doing wrong with this. Its JavaScript.

public class Program { public static void main(String[] args) { } } <script> document.write("N. Hey guys. Im gonna use this as a chat forum for anyone who just needs to talk annonymously. Just put a nickname before you type. Ex, Bunny. Bla, bla, bla.") </srcipt>

16th Aug 2018, 2:55 AM
Nicolena Taylor
Nicolena Taylor - avatar
2 Answers
+ 2
Try using system.out.println("your texts goes here ");
22nd Aug 2018, 5:27 PM
Martian
Martian - avatar
+ 1
Sorry, i thought they were the same.
16th Aug 2018, 3:37 AM
Nicolena Taylor
Nicolena Taylor - avatar