JavaScript Calculator Help (using Jquery)

** Help to solve JavaScript calculator Test Case 11 and 13 **

I am trying a lot , but stuck at those test cases .

Link to the challenge:

Improper linked in CSS:
body
button

Improper grammar:
Plaease

Odd named variables:
element
lastelement
EXP

Issue’s with the test:
11. When the decimal element is clicked, a “.” should append to the currently displayed value; two “.” in one number should not be accepted
5.57 <= decimal numbers
so . is decimal point

  1. If 2 or more operators are entered consecutively, the operation performed should be the last operator entered (excluding the negative (-) sign.

Operators / + %
so example if both ++ are entered the last + sign should count

Thanks ,
Done with test case 11, But 13th case is still not passed.
Can you help with some logic.