News for hackers. Stuff that matters.
Re:Roadmap to becoming a web developer in 2017 by devNoise on Monday March 27, 2017 @07:15PM (#13972667)
For #3, I say skip jQuery and go with Vanilla JavaScript ala https://javascript30.com

Every green browser have pretty good JavaScript support. document.getElementById will be your friend.

Re:Roadmap to becoming a web developer in 2017 by marknadal on Monday March 27, 2017 @07:34PM (#13972767)
This looks great!! Will have to peek at it more myself.

As you can tell, I'm a vanilla fan myself. Although I do think the DOM is still unnecessarily verbose - that aside, `innerText` still is not cross browser, so for that reason alone I recommend jQuery `$("#id").text("foo")` to discourage use of `.innerHTML` :( .

Re:Roadmap to becoming a web developer in 2017 by Rumudiez on Monday March 27, 2017 @11:07PM (#13973731)
Why is innerText not cross browser? According to caniuse it's been in every major version of every popular browser for over a year.[0]

[0] http://caniuse.com/#search=innerText

Re:Roadmap to becoming a web developer in 2017 by marknadal on Tuesday March 28, 2017 @03:33AM (#13974779)
Oh hmmm, I thought I tried it just the other month and it wasn't working. Maybe I hadn't updated IE, but I thought it was the whole Edge/11 split problem. Thanks for correcting me!
Re:Roadmap to becoming a web developer in 2017 by duderific on Monday March 27, 2017 @08:36PM (#13973004)
To my mind, using innerHTML is far better than including a 32K library just to avoid using it.
Re:Roadmap to becoming a web developer in 2017 by jhall1468 on Tuesday March 28, 2017 @12:13AM (#13974009)
This is especially true if you want to apply for a job some day. Programming interviews are going to expect plain old javascript, not a framework-oriented approach. More importantly, jQuery is a tool. Know what you're making before you bother with a tool that makes it easier.
Re:Roadmap to becoming a web developer in 2017 by lazyasciiart on Tuesday March 28, 2017 @05:38AM (#13975254)
Not the programming interviews I've been in (on both sides).