How would you prepare for implementing UI components? #Front-end-interview

These days, it seems like companies ask front end candidates something like "Implement a progress bar", "Implement Netflix main page", etc. How would you prepare for such questions? Do they allow you to look up APIs? Do they let you use your favorite framework like Angular? It sounds hard to me because we don't generally implement UI components and web pages from scratch. What exactly do they expect?

Add a comment
Amazon ficnwps Aug 14, 2017

Create the HTML you think will be needed, then add in the CSS, then add any necessary JavaScript interactions. Aside from the specifics on how to get the loading progress %, a progress bar should be simple. Apart from what tempting engine you're using, Netflix's homepage is simple. This stuff should be able to be done from scratch... if you need bootstrap to do any of these I wouldn't hire you.

AppDynamics AppDynamo OP Aug 14, 2017

Thanks for the answer! Though I dont understand why they make you work on front end from scratch. Nobody works like that these days. Of course, it is very important to know the fundamentals but it still does not perfectly evaluate how one is good at daily front end tasks.

Solution Fuse ramHardeep Aug 15, 2017

False. I work from scratch. You have more control of your code and know exactly what is in it and what's not in it...Which is usually bloat