+ 1

Users input should be displayed inside heading ,how can i do that?

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

4th Oct 2017, 4:25 AM
Rocky
Rocky - avatar
2 Antworten
+ 3
document.write("<h1>"+x+"</h1>") or use an ES6 template document.write(`<h1>${x}</h1>`)
4th Oct 2017, 4:35 AM
ChaoticDawg
ChaoticDawg - avatar
+ 1
thanks
4th Oct 2017, 4:37 AM
Rocky
Rocky - avatar