#innerHTML is not updating the p element in the DOM!

9 messages · Page 1 of 1 (latest)

knotty wigeon
#

Currently I'm working on the units converter solo project, I wrote the js code which updates the p elements, but it is only updating two of them instead of three. I googled the problem but can't see why it is not working

agile aurora
#

Hi,
It’s because your IDs don’t match. One is kilo, the other is kilos.

digital zinc
agile aurora
#

Also, could I suggest that you keep consistent names?
len-el, vol-el and mass-el

knotty wigeon
agile aurora
knotty wigeon
plush coyote
#

I also was looking for the typo. Did the kilo and kilos fix it?