Front End Development Libraries Projects - Build a JavaScript Calculator

Tell us what’s happening:

I can not seem to pass 11 and 13 I can’t think of what to do

Your code so far

caluclator (codepen.io)

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0

Challenge Information:

Front End Development Libraries Projects - Build a JavaScript Calculator

Hi @vitomortalo99

5..5 You need a way of limiting the number of times the decimal character can be added.

5*-+5 You need a way of limiting the number of operators to a maximum of the last two, or the last one if the last operator is not negative.

Happy coding

1 Like

I did the decimal one but now I am having trouble figuring out the two operators

figured it out you the goat teller

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.