hupili / datavis.studio

data-viz course/ slides/ projects
http://datavis.studio/
6 stars 6 forks source link

No answer show when I click the calculate button #20

Open SUN08042HanYue opened 5 years ago

SUN08042HanYue commented 5 years ago

I also have this problem as I click the calculate button and receive no answer.

Don't know what to do and where is the mistake.

This is my copy of my code.

Calculator

This is a paragraph.

Num1: Num2:

Result:
SUN08042HanYue commented 5 years ago

Calculator

This is a paragraph.

Num1: Num2:

Result:
ivywze commented 5 years ago

You have a typo gteElementById here document.gteElementById("result").value = result, change to getElementById.

If it does not work, pls paste your remaining code here, aka. the code besides Githubissues.

  • Githubissues is a development platform for aggregating issues.