D
D
durnevdanya2016-02-18 20:45:08
css
durnevdanya, 2016-02-18 20:45:08

Problem with JS when displaying a variable, how to fix it?

The variable is not displayed, why? It seems that everything is correct! Should output 125! Here is a link to the JS code
https://jsfiddle.net/43ezgb1u/

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
MNB, 2016-02-18
@durnevdanya

https://jsfiddle.net/43ezgb1u/1/

O
Oleg, 2016-02-18
@ptrvch

because html tags need to be written in the html window, and js is where the html code is now

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question