Real questions from developers like you, answered with practical insights on web development, career growth, and tech interviews.
Submit Your Question
As a non-btech person, how do I navigate the overwhelming choices in tech and deal with the fear of missing out?
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 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.
What are the important DS and algorithms one should prepare for a 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?
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:
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:
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:
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 a few CSS concepts to check if you are comfortable changing styles in their product.
Few important topics:
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 freecodecamp.org
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 a 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 a 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?
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 made up your mind for full-stack, you need Frontend library like React and knowledge of Node.js. I prefer express.js for backend 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.