Live data from Hacker News

Make Your Own Website: A beginner's guide

web.pixelshannon.com

1–10 of 51 posts

Re: Make Your Own Website: A beginner's guide

#3
That site gives me flashbacks to my 1994 O’Reilly HTML book. That and the Perl one (was that the Camel book?)

I am glad to see something like this though. You might reach some people.

You see folks, when you had to live through doing this shit by hand, and if memory serves, this was even pre-css (or maybe pre separate css files, shit, maybe just pre-css2?) and your only dynamism was through cgi with C or Perl, because Cold Fusion cost waaay too much for mere mortals (and the Sun server costs were even more eye watering), you welcomed things like Linux, PHP, MySql and Apache with open arms. It was like being rescued from a refugee camp and being given prime rib. And think about this- if someone thinks PHP back in the version 3/4 days was salvation, that person has seen some real shit.

Point being, we came OUT of the woods. We knew better than to build rube goldberg machines that would lead us right back in, lol. We have a word for that- masochism.

Take what you know now, and simplify. Untangle the knots. Spring clean. Throw away the cruft. Free your minds.

And I know y’all can. Don’t be pretending like you don’t rewrite all your shit every year anyway ;)

Re: Make Your Own Website: A beginner's guide

#4
A few things in it that I would not put into a beginner's (or any) guide:

- Semantic tags (header, footer, main, section): machine-readable semantics can be fun to play with if one is so inclined, one can go even for RDFa, but AFAICT they will not do anything visible or useful, especially for a small beginner's website, but they complicate the guide.

- CSS: the page itself uses low-contrast pink text on a pink background, which is hard to read (and goes against W3C accessibility guidelines, which can be checked with one of the online contrast checkers as well), and provides similar low-contrast examples. It also makes links bold on hover, which moves the texts that follow them, and which is annoying.

- Viewport meta tag: this can be controversial, I think, but the tag itself is rather a hack to tell a browser "this page is not too broken, it can be rendered with a legible font size without breaking the markup". Teaching beginners to repeat that feels wrong both as promotion of such bad browser behavior, and as a road to potential misuse even of that (and the next version of the guide will have to include a new "this page really is not broken" invocation).

Re: Make Your Own Website: A beginner's guide

#5
post #4

A few things in it that I would not put into a beginner's (or any) guide: - Semantic tags (header, footer, main, section): machine-readable semantics can be fun to play with if one is so inclined, one can go even for RDFa, but AFAICT they will not do anything visible or useful, especially for a small beginner's website, but they complicate the guide. - CSS: the page itself uses low-contrast pink text on a pink backgr…

> but AFAICT they will not do anything visible or useful

They are very useful for people using reader mode. I wouldn't worry about sections, though, they're not really used by many tools, as far as I'm aware.

> Viewport meta tag

It is not a hack, it is part of the html specification. You don't have to include it, but the browser defaults aren't great, and will not be changed due to backwards compatibility. Please always specify this tag, do not rely on browsers to break backwards compatibility because they won't.

Re: Make Your Own Website: A beginner's guide

#7
post #4

A few things in it that I would not put into a beginner's (or any) guide: - Semantic tags (header, footer, main, section): machine-readable semantics can be fun to play with if one is so inclined, one can go even for RDFa, but AFAICT they will not do anything visible or useful, especially for a small beginner's website, but they complicate the guide. - CSS: the page itself uses low-contrast pink text on a pink backgr…

  the page itself uses low-contrast pink text on a pink background, which is hard to read
Well, the author does say about herself that she loves making things pink so I guess this is a feature.
Post reply on HN