7 ms·
<img src="catcute.jpg" width="500px" height="400px" ></img> Width and height must be specified without units (although looks like browsers accept it, probably
by dchest 2y ago
<img src="catcute.jpg" width="500px" height="400px" ></img>
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 </img>
<img src="wool.jpg" width="500px" height="400px" ></img>
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.
<br/>
No need for / in HTML.
unicorn.html
unicorncopy.html
Page for cats is named unicorn.html! and for computers it's unicorncopy!!!
PS I don't like that CloudFlare Pages strips .html. Too magical.
- _def 2y agoAnd still with all of that it completely serves its purpose
- dchest 2y agoThe dog page should be banned in the EU because it doesn’t disclose that the picture has been digitally altered, promoting impossible beauty standards for pets.
- isoprophlex 2y agoIs this code review of HTML written by a 7 year old too hackernews, or just hackernews enough? Who can tell!
- dchest 2y agoYes.
- cowsaymoo 2y agoWhen the Trump assassination attempt happened last week and every single post on here was still about computers that's when I realized this place is different
- halfmatthalfcat 2y agoWe need our safe space.
- echoangle 2y agoIsn’t that kind of on purpose though? I think you will get flagged if you just post general news articles. It looks like political posts are only accepted if they have some relation to technology.
- latexr 2y agoIt’s not a secret HN is not a site for general news. That’s the first item in the guidelines: > What to Submit > (…) > Off-Topic: Most stories about politics, or crime, or sports, or celebrities, unless they're evidence of some interesting new phenomenon. Videos of pratfalls or disasters, or cute animal pictures. If they'd cover it on TV news, it's probably off-topic. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html It is because you’d hear about that anywhere and everywhere else that it doesn’t belong here. Would you complain that a forum about cooking or sharing wallpapers didn’t cover the news as well? Though it was submitted and discussed anyway, which always happens. That can be confirmed with your own keywords. https://hn.algolia.com/?dateRange=all&page=0&prefix=true&query=trump%20attempted%20assassination&sort=byPopularity&type=story https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
- j45 2y agoThere do seem to be posts. I’m not sure of the activity level of HN at the time it occurred. https://hn.algolia.com/?dateRange=pastWeek&page=0&prefix=false&query=trump&sort=byPopularity&type=story https://hn.algolia.com/?dateRange=pastWeek&page=0&prefix=fal...
- throwaway3306a 2y agoThat's why I come here instead of other places.
- orwin 2y agoI wouldn't mind reading about it here in like 2 weeks to a month tbh, but clearly I don't come here to read 'worldly news'.
- latexr 2y agoDon’t 7 year olds deserve to learn how to improve too? The comment doesn’t appear to be done aggressively or in bad faith, so what’s the issue? Presumably it will be the parent who’ll read the comment, and they can pass it on or not depending on what they think the kid would prefer and/or would let them grow. Ironically, I find the most HN comments of all to be the ones who complain about something being too HN. Which is not to say your comment wasn’t humorous, but let’s not be too quick to cast stones.
- jnsie 2y agoUnsolicited critique is almost always unwelcome critique, in my experience. Especially where someone else's 7 year old is concerned.
- latexr 2y agoRespectfully, if you see the comment as critique, that’s on you. It could just as easily be described as “unsolicited advice” or “unsolicited tips”. The communicator does have responsibility on how their message comes across, thought not all of it. It’s on the receiver to also make an effort to understand what was meant and not take unnecessary offence. The comment reads pretty much neutral, apart from a post scriptum which is explicitly about the author’s preference. It’s up to you to inject the writer’s feelings as either “this code sucks, here’s how you do it” or “congratulations on making something cool, here are a few suggestions”. My experience is that life is much better if you take the latter approach. Default to empathy. Consider listening to “This is Water” from David From Wallace. https://www.youtube.com/watch?v=eC7xzavzEKY https://www.youtube.com/watch?v=eC7xzavzEKY
- jnsie 2y agoLet's agree to disagree. I most certainly didn't take offense. I just disagreed (and continue to disagree) with the (your) comment that I responded to. I'm sure the parent of the 7 year old in question was aware of the shortcomings of the code. The fact that a (presumed) grown-up read the post/thread and their reaction was to provide a code review is odd to me and more than a little hackernews-ish which the poster you responded to poked fun at and which you seemed to take exception to.
- KwanEsq 2y agoWithout n-gate around anymore there's literally no one who can
- gravpuse 2y agoThe concept of "Connection Before Correction" emphasizes creating a positive relationship and safe learning environment before addressing mistakes.
- dchest 2y agoConnection and Correction - pair programming Connection before Correction - code review
- KronisLV 2y ago> The concept of "Connection Before Correction" Oh hey, I learnt a new thing today! It always felt apt to offer a few words of praise for the things that are good, or to establish common ground in code review before offering constructive critique. Wouldn’t call it a must, but makes putting one’s own ego aside when receiving critique that much easier and lets me focus on improvement, I try to do that for others as well now!
- fintler 2y ago> The dog is squeezed! We talked about that, and she thought it looked better that way.
- piperswe 2y ago> No need for / in HTML I personally prefer having the /> even though it's not necessary, so that I can tell at-a-glance whether a tag is self-closing or not. It doesn't hurt, does it? (plus I'm just used to it because the book I learned HTML from was confident that XHTML was the future)
- dchest 2y agoI strongly believe that the harm we experienced from XHTML should not be passed down to future generations.
- Sander_Marechal 2y agoYou didn't love the strict and unhelpful generic XML exception you got when you accidentally forgot to close a tag?
- tempfile 2y agoI thought the whole point of XML tags coming in named pairs was so you could be helpfully told which tag wasn't closed?
- dchest 2y agoXHTML was a move by Big CMS to make edit-and-FTP error prone. Before that you rarely had to care whether the tag was closed.
- tempfile 2y agoIs this a joke? I genuinely can't tell.
- throwaway3306a 2y ago[flagged]
- throwaway3306a 2y ago
- nick__m 2y agothe dog is squeezed! Her page, her squeezed dog !
- j45 2y agoIs this code review indicating a 7 year old will be put on a PIP? While most of th 7 year olds contemporaries are busy consuming content instead of creating it like this?
- deleted 2y ago[deleted]
- verbalstoner 2y ago[flagged]