-
-
-
-
Lyndsey reacted to a post in a topic:
How do you get a job in this when every company wants different skills?
-
-
Identify Input ID
You can target the input by something other than an ID, e.g. a class or data-* attribute that will likely not be dynamic.
-
Lyndsey reacted to a post in a topic:
Can anyone here give me examples of work they did to land their first job in web development?
-
-
-
-
-
General JavaScript
I assume that tree shaking with Webpack 2.0 would handle unused polyfills since they are individually exported modules?
-
-
input[type="radio"]:checked + span Styling Issue
You can use data-* attributes to achieve this in a much more compact way. This is an example: <!-- data-ref corresponds to the target form to be displayed --> <input id="windowFront" class="js-radio-button" name="window" value="Front" type="radio" data-form="#damageChips"> <!-- target form to be displayed when the radio is changed --> <div id="damageChips" class="form-section js-form-section"> ... </div> // jQuery var $radioButtons = $('.js-radio-button'); var $forms = $('.js-form-section'); $radioButtons.change(function() { var $this = $(this); var targetForm = $this.data('form'); $forms.hide(); $(targetForm).show(); }); Fiddle demo: https://jsfiddle.net/usjoL467/4/
-
-
-
Hi, I'm Ash. Full time geek.
Welcome!
- Learn ES6
- Learn ES6
-
-
Hey everyone
Hi Lee, Welcome to the forum. Feel free to ask any questions
-
- Learn ES6
- Learn ES6
-
Learn ES6
es6 is JavaScript. It's an update to the language. Personally, I'd start learning the fundamentals of JavaScript: Types / Primitives Conditionals Loops Arrays (in particular array methods such as forEach, map, filter, reduce, every. Mozilla Developer Network is a great resource) Functions Scope etc You can learn all of the above using resources such as Treehouse, Codeschool, Codecademy, FreeCodeCamp, plus many others. You'll also find some of these links useful: https://github.com/lukehoban/es6features https://github.com/addyosmani/es6-equivalents-in-es5 https://es6.io/ (paid course. I wouldn't do this unless you're comfortable with JavaScript fundamentals)
-
General JavaScript
The documentation is easy to follow, which helps. Also, I've been finding the test-first approach OK so far. Writing the test before the implementation means I'm writing less code and it's so much nicer to read. Although, I'm not sure if this is more related to functional programming as I've recently been learning a lot about it and have been trying to implement the methodologies as much as possible. JavaScript is so awesome right now, though!
-
General JavaScript
I've been using Jest for a while now and I have to say I'm really enjoying it. I find it's much faster than Mocha/Chai and it's extendable too which means I can create my own methods for validating data.
-
Web Developer from St. Louis MO USA
Welcome to the forum!
- Best way to start a career
-
General Git
That course looks good, thanks for that, Jack! Minified files are typically related to the distributed app so I wouldn't normally version those.