Skip to main content

Timeline for How can I streamline my code?

Current License: CC BY-SA 4.0

6 events
when toggle format what by license comment
Apr 28, 2020 at 8:41 comment added K.H. Yeah I know it is reasonably supported, just didn't want to complicate it too much :-) Especially with IE missing.
Apr 28, 2020 at 7:30 comment added Connor Hey! Thanks for your comments and answers - I have added my HTML now if that helps?
Apr 27, 2020 at 23:55 comment added CertainPerformance NodeList.prototype.forEach is reasonably well supported. If you don't trust it, you can just spread it into an array first. [...gridItems].forEach( (if IE support is required, use Babel, as always)
Apr 27, 2020 at 22:29 history edited K.H. CC BY-SA 4.0
added 1 character in body
Apr 27, 2020 at 22:01 comment added pacmaninbw Maybe I'm missing something because I'm not that strong on JavaScript, but can't the if (cond) else if (cond) else be simplified If (thisValue == 'all') ... else ... ?
Apr 27, 2020 at 21:14 history answered K.H. CC BY-SA 4.0