Live data from Hacker News

My daughter (7 years old) used HTML to make a website

naya.lol

311–320 of 547 posts

Re: My daughter (7 years old) used HTML to make a website

#312
post #26

Width and height must be specified without units (although looks like browsers accept it, probably by ignoring the unit). IMG tags are self-closing, so you can omit The dog picture has wrong aspect ratio. The dog is squeezed! It should be 620 × 349 or, if 500 width or 400 height is needed, there's a good mathematical task to calculate the size of the other side. No need for / in HTML. unicorn.html unicorncopy.html Pa…

[flagged]

Re: My daughter (7 years old) used HTML to make a website

#313
post #234

Now this is the real internet. Real people writing about things they're interested in, and not with the intention of turning it into a content farm. Of course at 7 years old we cannot expect a deep, fleshed out site like in the Geocities golden age, but I wish older kids and adults would continue this practice of authoring their own pages, and manually linking them together. CMSes are incredibly limiting by design, e…

[deleted]

Re: My daughter (7 years old) used HTML to make a website

#317
post #29

Exactly as I would do it if I were a 7yo. Speak what you will about the virtues of CSS and semantic markup, these things get in the way of having fun. And can be learned later.

I agree with you, but for shits and giggles, to modify this to be evangelist compliant, you could write this instead: Which isn't much more complicated, and makes it clearer what's going on. I wonder if there is a transpiler like Elm that could take a single file written in a simplified language and gave you an HTML5 compliant webpage? You could argue that all the XML-but-not-actually-XML crap in HTML (angle brackets…

> Which isn't much more complicated, and makes it clearer what's going on.

Hard disagree on both points.

Re: My daughter (7 years old) used HTML to make a website

#318
post #26

Width and height must be specified without units (although looks like browsers accept it, probably by ignoring the unit). IMG tags are self-closing, so you can omit The dog picture has wrong aspect ratio. The dog is squeezed! It should be 620 × 349 or, if 500 width or 400 height is needed, there's a good mathematical task to calculate the size of the other side. No need for / in HTML. unicorn.html unicorncopy.html Pa…

Is this code review of HTML written by a 7 year old too hackernews, or just hackernews enough? Who can tell!

Without n-gate around anymore there's literally no one who can

Re: My daughter (7 years old) used HTML to make a website

#319
post #29

Exactly as I would do it if I were a 7yo. Speak what you will about the virtues of CSS and semantic markup, these things get in the way of having fun. And can be learned later.

I agree with you, but for shits and giggles, to modify this to be evangelist compliant, you could write this instead: Which isn't much more complicated, and makes it clearer what's going on. I wonder if there is a transpiler like Elm that could take a single file written in a simplified language and gave you an HTML5 compliant webpage? You could argue that all the XML-but-not-actually-XML crap in HTML (angle brackets…

What is the value of writing all of that, compared to the simpler approach? What will you want next in your quest of purity? Forbidding inline styles in the name of security, maybe?

Disclaimer: I'm not found of web techs...

Post reply on HN