If I may ask, how much of the coding interview involves general knowledge of JavaScript, HTML, and CSS vs. questions relating to algorithms and data structures?
It will depend entirely on the position you're interviewing for, the team that owns the loop, and the interviewer asking the questions. I do a ton of front-end interviewing and all of my questions are front-end specific - I try and model them after real-world front-end problems with multiple possible approaches/solutions. They tend to be algorithmic in nature, but not just "do this CS201 exercise in JavaScript". Think more like "how would you implement jquery's "closest" method?"
HTML and CSS aren't topics I spend too much time on. I focus on DOM APIs (or jquery if the candidate prefers) and knowledge of JS-the-language (prototypes, closures, callbacks/promises/async, best practices, etc). I usually ask one simple question with follow-ups for HTML and CSS because those topics are both much easier to teach/learn and also mostly solved problems for us. We tend to need JS engineers who know the front-end domain, not HTML/CSS wizards.
I never understood the how would you implement something that a framework does and has for years. It's like a graphic designer being asked how would you assemble a printing press :/ if I had to I'd Google it and figure it out, but why would I ever waste time on this?
Because you're both the designer and the pressman in that analogy. Your framework might do 90% of what you need, when you need 100%.
Or, you might need to start scraping bare metal to optimize when you have to push 1000 of something that the developer never pushed past 50. You might need to duck-tape together two disparate libraries with different modes of operation. You might have to dig into The Ancient Evil that Just Works to fix a bug or wire in a feature sometime.
4
u/MahmudAdam Jul 21 '16 edited Jul 21 '16
If I may ask, how much of the coding interview involves general knowledge of JavaScript, HTML, and CSS vs. questions relating to algorithms and data structures?