0

How to make "Score: " in HTML ???

21st May 2018, 5:08 PM
Oleg Shevchuk
Oleg Shevchuk - avatar
2 Respuestas
+ 8
You can use native JS like this: document.write("Score: "+score); or document.body.innerHTML = "Score: "+score; You can also use CSS (static): p:before { content: "Score: "; }
21st May 2018, 5:36 PM
Amethyst Animion
Amethyst Animion - avatar
+ 1
You can use AngularJS like this: <p>Score: {{score}}</p> Check this out: https://www.sololearn.com/learn/1017/?ref=app
21st May 2018, 5:17 PM
Paul Grasser
Paul Grasser - avatar