https://codepen.io/mwahlmeier/pen/pooQazO

Tell us what’s happening:
I am unsure of what the expectation is for the decimal user story… Is this just failing due to not having the other user stories satisfied? I am trying to get through each one individually, but I have seen in the past that until you get all use cases handled it will fail on others.
User Story #11: When the decimal element is clicked, a . should append to the currently displayed value; two . in one number should not be accepted.

Your code so far
https://codepen.io/mwahlmeier/pen/pooQazO

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.92 Safari/537.36 Vivaldi/2.9.1705.38.

Challenge: Build a JavaScript Calculator

Link to the challenge:

Dont worry I am an idiot, I can see that my regex is bad.

I’m pretty sure it expects you to prohibit inputs like this: 0......45....45.....45.....45