NoJS – Creating a calculator with only HTML and CSS
blog.scottlogic.com
NoJS – Creating a calculator with only HTML and CSS
1–10 of 48 posts
Re: NoJS – Creating a calculator with only HTML and CSS
#2Are we Turing yet with CSS?
Re: NoJS – Creating a calculator with only HTML and CSS
#3Are we Turing yet with CSS?
Yes. CSS is Turing complete.
Re: NoJS – Creating a calculator with only HTML and CSS
#4It would be interesting to create complex mathematical computations and finding a solution without the proper help of JS.
Re: NoJS – Creating a calculator with only HTML and CSS
#5Nice 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
Re: NoJS – Creating a calculator with only HTML and CSS
#6Are we Turing yet with CSS?
Yes, if combined with html and if you "move" the tape by clicking elements
Re: NoJS – Creating a calculator with only HTML and CSS
#7Now make it accessible
Re: NoJS – Creating a calculator with only HTML and CSS
#8Nice 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
#9Do yourself a favor and try dividing by zero!
Re: NoJS – Creating a calculator with only HTML and CSS
#10You can even do this with pure HTML, no CSS or JavaScript! Server-side processing sometimes seems underutilized and forgotten.