+ 1
What do you write before writing your "hello world" <html><script><javascript>
Getting problem with the hello world display
15 RĂ©ponses
+ 1
Thanks Lago Barreto
+ 1
I will alwasy keep in touch with a person like you so that i learn programming to my expectations.
Thanks sir
+ 1
Are you proficient at JS?
I started Html sometimes back but didnt continue so now i just want to start with JS cos a lot of people have been saying that it is the simplest to begin with.
+ 1
Good idea
+ 1
What is your facebook name on facebook so that we link up
+ 1
Great thanks
+ 1
HTML:
<html>
<head>
<title>Hello world</title>
</head>
<body>
<p>Hello world!</p>
</body>
</html>
You can say "Hello world!" in headings as well.
+ 1
If you are wanting to print it on the page, document.write(âHello Worldâ);
if you want to put it in the console, console.log(âHello Worldâ);
if you want to alert it, alert(âHello Worldâ);
if you want to prompt it, promt(âHello Worldâ);
All this is in like the first or second module of the JS lessons. Maybe do that before asking basic questions.
0
use a
<button onclick="showMsg();"> Say hello </button>
and inside script tag use
<script>
function showMsg() {
alert("hello world");
}
</script>
0
I just write my first code here
0
https://code.sololearn.com/W9staHYVq2Sn/?ref=app Hello Friends
0
please take a look and if you need i will be glad to help you
0
you have to master html but you can learn js at the same time, im a begginner
0
maybe instagram its easier @iagobarretoc
0
Thanks for commends