+ 1

I'm a beginner. I used the code Playground for practice, but my title isn't showing up on the output. Please what do I do

24th May 2017, 10:09 PM
Fabian
5 Réponses
+ 12
document.getElementsByTagName("title")[0].innerHTML; In mobile you can't show your <title> as output, why? Because CodePlayground has not tab like a normal browser. ~_~ BTW, with my snippet you can get the value of <title>, then you can display it in your webpage.
24th May 2017, 10:48 PM
Maz
Maz - avatar
+ 2
Check it on PC and it will work if you're doing it right:)
24th May 2017, 10:16 PM
Rose Sevenyears
Rose  Sevenyears - avatar
0
@ Fabian maz said it right so don't give yourself headache because your title won't show up there. 😂
26th May 2017, 12:53 AM
Xperience
Xperience - avatar
0
for more clarification go back to your html course----->overview----->lesson (2/5 Basic HTML Document Structure) and (3/5 Creating First HTML page)
26th May 2017, 1:05 AM
Xperience
Xperience - avatar
0
alright. thanks
26th May 2017, 5:47 AM
Fabian