0
How to make "Score: " in HTML ???
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: ";
}
+ 1
You can use AngularJS like this:
<p>Score: {{score}}</p>
Check this out:
https://www.sololearn.com/learn/1017/?ref=app