You can even do this with pure HTML, no CSS or JavaScript! Server-side processing sometimes seems underutilized and forgotten.
NoJS – Creating a calculator with only HTML and CSS
11–20 of 48 posts
Re: NoJS – Creating a calculator with only HTML and CSS
#12Nice 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.
Re: NoJS – Creating a calculator with only HTML and CSS
#13Nice 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.
Re: NoJS – Creating a calculator with only HTML and CSS
#14Re: NoJS – Creating a calculator with only HTML and CSS
#15Earlier quoted context omitted.
sadly, it has rounding errors if you multiply by 0.xxx
? It doesn’t even allow non-integer numbers.
Re: NoJS – Creating a calculator with only HTML and CSS
#16Re: NoJS – Creating a calculator with only HTML and CSS
#17Do yourself a favor and try dividing by zero!
Re: NoJS – Creating a calculator with only HTML and CSS
#18Re: NoJS – Creating a calculator with only HTML and CSS
#19Re: NoJS – Creating a calculator with only HTML and CSS
#20Do yourself a favor and try dividing by zero!