DEV Community

Koire
Koire

Posted on

Coding Challenges for Jobs is a joke

Coding Challenges are a Joke

Part two-ish of my trials to blog about my job search.

The Premise

You have a good interview with a company and it goes well, you like what they're doing, they seem to like you. So, step two, you have a new interview about engineering. They might throw some hardball questions, like when should you use eventually consistent vs traditional sql; how do they scale? Or useEffect, useMemo, useRef, what are these things? But, you know all of that of course!!

Now, (luckily it's after the two interviews) they give you a take home coding challenge... Which, well, at least it's take home. They say it's only 2 hours and don't worry about complicated code... Here's the challenge (for front-end):

  Use a free api like wikipedia. 
    - Create a search page that allows the user to search the api
    - The user should also be able to favorite the results, and see them later, using whatever storage option you deem fitting.
    - The user should be able to click on the result and get a summary

  Tips:
    - Spend some time on transitions/animations that make an app nice to use
    - Focus on good naming
    - If you end up with complex code, which isn't necessarily a bad thing, document the thoughts behind it
Enter fullscreen mode Exit fullscreen mode

Not too terribly hard, but definitely not two hours if I should pay attention to transitions/animations

Write it with ESM, modern JS, and CSS.

I used Animate Style and Water CSS and about 100 lines of JavaScript all nicely separated into modules using import.

Feedback:

  • it seems you didn't use a library, therefore it won't run on browsers that are not supported by es6
  • the pure javascript was a bit legacy with a low readability
  • they feel you might have misunderstood the instructions of the coding assignment, as your actual project was not written in pure javascript

for anyone who read this far, feel free to judge me.

You can judge me here and view the semi-finished product here:

search

Top comments (0)