Robust Client-Side JavaScript
molily.deDoes anyone know of guides that are similar in style/scope to this that apply to server-side development?
I like the part where the p's and q's overlap the underline. and also, it's a nice guide I have saved to PDF
This is great material. Bookmarked!
this can come in handy, nice!
I got a 502 trying to visit, I suppose having robust JS doesn't mean much if your backend is not robust! lol
It's good to have a comprehensive document like this.
The document itself could be made more readable by choosing to break lines at word boundaries, not in the middle of words.
> The document itself could be made more readable by choosing to break lines at word boundaries, not in the middle of words.
What browser are you using? I see none of this happening, and looking at the source code, it's just blocks of text in `<p>`, so you might try getting a browser with a better text reflow engine, or tweaking options on your current one.
The site has the following rule in their CSS:
which could be causing this at certain screen-sizes.html { overflow-wrap: break-word; }only if the word is too long to fit on a line by itself. If the browser is breaking it at the end of a line instead of flowing it to the start of the next line, then it's in violation of the spec.
The page is styled to
But it's not clear what's triggering itoverflow-wrap: break-word;which, by spec, only allows breaking the word if the word is too long to fit on a line by itself. You'd need like a 1 inch wide screen to hit that edge case from what I've been testing.