Live data from Hacker News

NoJS – Creating a calculator with only HTML and CSS

blog.scottlogic.com

11–20 of 48 posts

Re: NoJS – Creating a calculator with only HTML and CSS

#12
post #8
post #5

Nice write-up, shame there's not a demo embedded (but understandable, bet that would be a hassle to work out on our blog too; too much for a one-off). Also quite entertaining to click through to ScottLogic's home page after that, where the strapline for what they do is: > Pragmatic solutions to complex software challenges

There's a link to the calculator in the first paragraph.

sadly, it has rounding errors if you multiply by 0.xxx

Re: NoJS – Creating a calculator with only HTML and CSS

#13
post #8
post #5

Nice write-up, shame there's not a demo embedded (but understandable, bet that would be a hassle to work out on our blog too; too much for a one-off). Also quite entertaining to click through to ScottLogic's home page after that, where the strapline for what they do is: > Pragmatic solutions to complex software challenges

There's a link to the calculator in the first paragraph.

Ah so there is, thanks! I suppose at the time I wasn't so interested (I have a calculator) but by the end of the post I wanted to see it all come together, and unless I missed that too there isn't a link there.

Re: NoJS – Creating a calculator with only HTML and CSS

#15

Earlier quoted context omitted.

sadly, it has rounding errors if you multiply by 0.xxx

? It doesn’t even allow non-integer numbers.

It does not work in Firefox: https://github.com/QuarkNerd/noJS. It's not clear why though.

Re: NoJS – Creating a calculator with only HTML and CSS

#19

Earlier quoted context omitted.

sadly, it has rounding errors if you multiply by 0.xxx

? It doesn’t even allow non-integer numbers.

It does, but you have to enter a digit first (0 is fine) in order to see the decimal point button.
Post reply on HN