What im doing wrong? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What im doing wrong?

html; head; title/title /head; body; script; alert ("Hi my name is Jeff!"); /script /body /html

3rd Mar 2019, 4:45 PM
Gregorio Faerman
Gregorio Faerman - avatar
2 Answers
+ 6
//You are doing all wrong, it's something like this 👇 <html> <head> </head> <body> <script> alert("Hi my name is Jeff!") </script> </body> </html>
3rd Mar 2019, 5:16 PM
Sudarshan Rai
Sudarshan Rai - avatar
0
The above is very correct.. ensure you place title tag in the head tag, like this 👇 <html> <head> <title></title> </head> <body> <script> alert("Hi my name is Jeff!") </script> </body> </html>
5th Mar 2019, 1:36 PM
Izuchukwu Enemo
Izuchukwu Enemo - avatar