|
You are here |
www.tempertemper.net | ||
| | | | |
www.hillelwayne.com
|
|
| | | | | What does this print? x = 1 x --> 0 Think it through, then try it in a browser console! Answer and explanation in the dropdown. Show answer It prints 1. wait wtf At the beginning of a line (and only at the beginning of a line), --> starts a comment. The JavaScript is parsed as x=1; x; // 0 The browser then displays the value of the last expression, which of course is 1. | |
| | | | |
keepinguptodate.com
|
|
| | | | | One way to drastically exclude users from your site is to add JavaScript click handlers to non-interactive elements such as ` ` and `` tags. | |
| | | | |
matuzo.at
|
|
| | | | | A small collection of accessibility checks I perform in every site I audit and build. | |
| | | | |
www.scottohara.me
|
|
| | | ARIA provides two different methods for suppressing accessibility information of a page's markup. aria-hidden=true and role=none | presentation. What they do... | ||