Frequently Asked Questions


Saloni Jain


2021 has been both a boon and a curse for many people. Many people have lost their jobs, and the stigma associated with tier one universities and a btech degree is progressively dissipating. My question is that there is so much to pick from, and we, as non-btech people, don't know where to begin. It's always overwhelming, and there are so many new edtech products cropping up every day, which causes a lot of uncertainty and anxiety of missing out on other technologies. So, what are our options for dealing with these issues ?

I agree that there are so many EdTech companies trying to sell you a piece of their pie.

Non B.Tech graduates stand an equal chance in a place where skills are valued. I highly suggest you to look at various roadmaps in the tech world. There are many legit YouTubers who have put the roadmaps. After going through these, do your own investigation online before trying to buy courses and trainings.

This is just like the stock market. You should never buy something just because it is trending. Do your homework and research online. The Internet is pretty powerful when it comes to sharing knowledge.

After that, think about your interests. Programming is not for everyone. Maybe you like designing or marketing. Pursue what interests you and keeps you engaged without boredom for the years to come.

Hope it helps.


What are the important DS and algorithms, one should prepare for frontend interview ?

If you are applying for a software engineer or senior software engineer positions, which demand under 8 years of experience, then you will have a DS & Algo round.

And for frontend, there is 1 data structure which you must focus more than others - Trees.

We work with browser's DOM pretty much all the time as frontend engineers because that's how the web is designed. No matter which web framework / library you use, they will all create the DOM in some way and then finally render it out in the browser.

DOM is a tree data structure. Hence the name "DOM Tree"

So please prepare how to traverse trees. finding node elements and manipulating them with lower time complexities.


Is it good making projects by looking at Udemy courses / YouTube videos ?

Watch the video

Video tutorials are always good because they give you an initial "hand-holding".

What is not good is not practicing after the Udemy course is completed. Because the instructors will help you make a project which they are comfortable with and believes that it gives good insights into the topic.

You must however practice with more projects post the training to truly understand and get a grasp of the topic.


Which are some of the best resources | materials to learn JavaScript ?

There are a ton of materials online, but I can suggest based on my learning journey.

1. YDKJS Book series by Mr. Kyle Simpson

2. Traversy Media Youtube channel by Mr. Brad Traversy

3. MDN docs are easy to read and most accurate

4. Read a lot of Medium blog posts on various aspects of JS

5. Practice on FreeCodeCamp


I am a backend developer and I am interested to move to frontend with JavaScript. How do I get started ?

Welcome to frontend.

You will need to learn in the below order :

1. HTML > CSS > JS (basics)
2. Advanced JS
3. Web browser basics & dev tools
4. Web APIs, HTTP protocol
5. Setup VS code and practice
6. Learn a library ( like React )
7. Learn JSS, SASS, LESS, Webpack, Babel, ESlint
8. Learn UI framework ( like Material UI)
9. Learn state mgmt ( like Redux )
10. Create websites


What is IIFE pattern in Javascript ? Where can I use it ?

IIFE stands for Immediately Invoked Function Expression.

If you declare a function in JavaScript and immediately execute it using 2 parenthesis ( ) , it becomes an IIFE.

This pattern is widely used in many JS libraries to isolate the variable declarations that are within them. This will allow various scripts to have scope and thus will not pollute the global object.

Another use of IIFE is to initialize a module or run effects in your app upon compiler pass / load.


What do interviewers expect from me in a frontend interview specifically for javascript ?

As an interviewer myself,

Whenever I interview a candidate for a frontend position, I expect the following

Candidate should:

1. Have core understanding of JS prototype, event loop, web APIs & promises (async JS)

2. Can create projects from scratch with Node | Webpack

3. Should have good understanding on Web security, browser dev tools and compatibility

4. Should be willing to adapt to a new framework quickly

5. Should know 1 library deeply like React.js (Redux is a bonus)


Why do almost all frontend interviewers ask a question on Javascript promises ?

Javascript runs on a single thread in the JS engine. It is the developer’s responsibility to use asynchronous requests so that the stack in the event loop is not put into wait mode for a long-time causing freeze time.

When this happens, the browser gets frozen until the execution stack is empty again.

In real world projects, there will be many upstream & downstream systems sending and receiving huge payloads from your app.

The better you understand promises, the better you will handle these situations and produce quality code.


I am attending a frontend interview and I’m comfortable with HTML What should I prepare in CSS ?

Your interview will probably be focused more on Javascript, but I see many interviewers still ask few CSS concepts to check if you are comfortable changing styles in their product.

Few important topics :

1. Flexbox
2. Specificity
3. Media queries
4. Make div shapes with CSS
5. Box Model
6. Transforms
7. Viewport metric
8. Different selectors
9. Content overflow


I don’t have subscription for udemy or LinkedIn learning. How do I learn Javascript without paying

I believe the best things in life are free which includes knowledge also.

If you prefer watching videos, then I don’t have to mention about YouTube. It is just fully loaded.

But if you prefer writing code while learning, then try out

Finally, MDN is free for you which happens to be the 2nd Most accurate resource to know about Javascript .


I am working on old technologies in my company, but I am interested in React.js . What should I do ?

Well, if you are starting your career and working on old technologies, then it is a problem for sure.

Why don’t you ask your manager to shift you internally to a team working on React and other tech ?

If this doesn’t workout, what is stopping you from learning on your own ? Pretty much all the materials are available for free. You only must make up your mind and start the journey. You will find help as you go

The React community is big now and you will get solutions to your problems along the way 


I am a frontend engineer | JS and I want to get promoted to higher levels. Should I learn backend also ?

If you are into Javascript, you are already a full stack engineer pal.

See if you can move some of the projects to Node.js so that you can truly apply your JS skills there.

Most companies are adopting to Node.js now due to various kinds of benefits. One of the major benefits is that a separate backend team is not necessary to build the product.

So it’s a win-win for employee and the company due to cost saving and faster time to market.

All the best !


I am doing well in frontend, but my manager knows only backend. Do I have a good future here?

Firstly, your future is decided by only 1 person – You

Secondly, your manager knows that without frontend, he can’t showcase the backend to stakeholders very effectively.

There is a reason you are there in the team. and you need to abstract most of the techy frontend things and start demonstrating real output to your team and gain trust.

You see, once trust comes into picture, people start believing the quality work you are doing in the team and the organization.


What is Babel ?

Most of the web browsers today support ECMAScript 6 specification code to run in their JavaScript engine.

There used to be time when this was not so true and even today few clients do not fully support all ES6 syntax.

So we are forced to transpile our code to an older ES5 version to achieve compatibility.

Babel helps us achieve just that.


I am attending an interview for frontend role. Should I prepare for DS and Algorithms also ?

The short answer is YES

The Long answer,

Data structures and algorithms are not related to any language

DS defines how data can be stored in memory and Algorithms define how one can manipulate this data to produce a meaningful result out of it in a given time.

But if you are specifically giving interview for frontend, it's better you practice solutions in javascript itself


I am a 2nd year UG student. How do I get started with full-stack development with javascript in 2020?

Good that you asked early.

I suggest you first learn javascript, the language itself well enough first before thinking about full-stack / frontend / backend.

Since you already madeup your mind for full-stack, you need Frontend library like React and knowledge of Node.js. I prefer express.js for backed beginners.

I am giving this advice as you are still in UG and companies won't expect you to have advanced skills for internship or your first job.