Live data from Hacker News

NoJS – Creating a calculator with only HTML and CSS

blog.scottlogic.com

21–30 of 48 posts

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

#21
post #18

Earlier quoted context omitted.

But then you need an active server.

how else do you serve an html page?

Maybe "active server" wasn't the best term, but he's obviously talking about a server that does more than just serve static files off a disk.

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

#24
I’m disappointed with the reset button: it uses a dangling label inside a link, which reloads the page:

  
    C
  
Rather than just using the formerly-ubiquitous but now rare beast (I think I saw exactly one last year), a reset button:

  
To keep the CSS simple (!), you could even keep using the label (though ditch the wrapping) and just chuck an invisible in with the radio buttons, if you really want. Then the label would dangle no more.

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

#26
post #18

Earlier quoted context omitted.

But then you need an active server.

how else do you serve an html page?

Create an html page with notepad, click on it, maybe tel Windows to open it with a browser (same or similar with most Linux desktops). It does execute in-page JS scripts too, at the very least.

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

#28

I’m disappointed with the reset button: it uses a dangling label inside a link, which reloads the page: C Rather than just using the formerly-ubiquitous but now rare beast (I think I saw exactly one last year), a reset button: To keep the CSS simple (!), you could even keep using the label (though ditch the wrapping) and just chuck an invisible in with the radio buttons, if you really want. Then the label would dangl…

Hi,

Thanks for this. I did have this earlier in the development but it didnt properly work. I'll go back to this and try again

Post reply on HN