Hacker News new | ask | show | jobs
by lucgommans 699 days ago
If you want to see which ones you've missed, put this in the JS console:

    Els.filter((item) => {return ! Elsguessed.includes(item)})
In Firefox (probably also in other browsers), links in the console are also clickable, so if you want to look any up, printing them as a link may be helpful:

    Els.filter((item) => {return ! Elsguessed.includes(item)}).map((item) => {console.log(`https://developer.mozilla.org/en-US/docs/Web/HTML/Element/${item}`)})
I got to 80 found / 34 remaining (plus, of course, various deprecated tags and some which I'm very surprised were not deprecated such as map). Of the remaining ones, I've used several in the past and would have been able to say what they do... stupid memory is bad at enumeration!
1 comments

> in the JS console

in the CodePen console, not in the browser's console.

here's a shorter version.

  Els.filter(item => !Elsguessed.includes(item)).forEach(item => console.log(`https://developer.mozilla.org/en-US/docs/Web/HTML/Element/${item}`))
or

  new Set(Els).difference(new Set(Elsguessed))