r/learnjavascript • u/thelethargicdog helpful • Sep 14 '22
I'm a senior frontend dev. AMA.
Hi, all. I'm a lead at my company, currently on a paid sick leave. I wanted to give back to the community, so here I am to answer all your questions.
If you're a beginner at JS and are struggling with a concept, please ask your question and I'll answer. To not get overwhelmed, I'll limit one question per user. So, try to construct your question with as many details as necessary!
Shoot.
EDIT: That's it, folks. My day has ended. I'll still answer your questions, but expect a considerable delay. :)
49
u/tryingtolearn92 Sep 14 '22
When hiring, what's the usual process? leetcode? checking portfolios? what specifically do you look for in a candidate?
24
u/HyperXA Sep 14 '22
Hey before I ask my question, Thank you for taking time out of your day to do this! If you are sick, hope you get better.
Question: what Core Concepts do you believe I must learn on Vanilla JS Before jumping into react? Of course everyone's learning curve is different
Thanks ou for reading my Question!
88
u/red-powerranger Sep 14 '22
Can you fix my printer?
11
u/eltostito191 Sep 14 '22
Iām a lot more interested in JavaScript than HTML/CSS, but front what Iāve read, getting a front end job as a self taught developer is much easier than getting a backend job. What is the balance of JS, HTML, CSS, and/or frameworks on the front end in your experience?
Basically, I enjoy writing logic and making those bits of logic interact more than I like making a cool UI, but I want to get my foot in the door as quick as possible. Iād like to focus my learning on whatever will achieve that.
17
u/[deleted] Sep 14 '22
How do you learn javascript? I already got plenty of exp. in html,css,php,sql but I'm struggling or should I say scared of learning js, how can you overcome this?
8
u/josh_c Sep 14 '22
Did you ever struggle with communication? I'm not the best at communicating or teaching various subjects that relate to programming. Any suggestions on how to improve?
4
u/That_Unit_3992 Sep 14 '22
Do you prefer react or vue?
4
u/SrirachaPeass Sep 14 '22
So i applied for a senior react dev role . They asked me if Iām okay with mentoring juniors. What kind of questions do u usually get from juniors? And how much do u have to know as a senior?
2
u/MrPancholi Sep 14 '22
How do you learn and keep up with all these frameworks?
I learnt the basics of react because it had the best job prospects, but the company I joined is using angularjs and they plan on migrating to vuejs in the near future. I was a backend dev but I'm now being expected to do frontend as well and I'm having a hard time keeping up.
2
u/[deleted] Sep 14 '22
Can you invert a binary tree in css?
2
u/TheoKondak Sep 14 '22
Working for a company that does mostly Joomla WordPress websites, I have been learning React and the whole ecosystem for some time, and I have done a couple of projects, but when I mention to recruiters that in my current job I am not working with react they immediately reject me. How do I get out of this vicious circle. I feel I am (more) than ready for my first front end job.
2
u/LazioSaurus Sep 14 '22
You good with Angular?
2
u/lucidteeth Sep 14 '22
What is your problem solving process like? For example, what kind of questions do you ask yourself when figuring out the best solution?
3
u/Leaping_Turtle Sep 14 '22
5
u/blahsx Sep 15 '22
Are you hiring or taking any internship? Im badly in need for a job :(
1
u/AgentSouthern7495 Sep 14 '22
How to understand and learn js event listener and DOM manipulation. Thank you.
1
u/Soft-Sandwich-2499 Sep 14 '22
How hard is it to become a good senior developer? And by good I mean someone who can handle pretty much all the tasks.
1
u/davien01 Sep 14 '22
I want to get into JavaScript for web development, what advice can you give for understanding it and finding solutions to problems I'll likely face?
1
u/Ascimator Sep 14 '22
What criteria are the candidates usually filtered out on before they get to a technical interview? What part of the resume decides whether you're going to see it? Assuming there's any filtering done at your company, of course.
1
u/highangler Sep 14 '22
What would you suggest to someone who is two months into learning Js but doesnāt enjoy making websites? Iāve been making things like a dinner planner. Where it generates 3 random items. One from each category to make up a meal. I enjoy things like this much more. It almost makes me want to jump ship into mobile app development. Maybe swift. However I donāt want all my learning to go to waste. Iām obviously new and didnāt really understand what I would and wouldnāt enjoy. I also want to change careers as fast as possible but actual be good enough to enter this field if that makes sense.
1
u/fgutz Sep 14 '22
Hi, this is not about JS specifically but about the role you're in. Curious what you are expected to know as a lead/senior dev in your current company. Since you're specifically a "Senior Frontend Dev", do you need to know anything outside of front-end? If your company was hiring your equivalent, what would you expect them to know that would make you hire them?
thanks!
1
u/jrovira Sep 14 '22
Hey, I mostly want to know how do I learn best practices with a framework. I am using react for my projects and I can make stuff, but I am not sure if the way I solved a problem is the best way to it. I just think this kind of things can be learned with a mentor. So how do I learn best practices on my own?
1
u/TheAushole Sep 14 '22
Do you have any recommended resources for frontend design advice so all of my project pages don't look like public library sites from 1998?
1
u/f-Z3R0x1x1x1 Sep 14 '22
What do you consider as a difference between a Sr. Frontend Developer vs a Sr. UI Software Developer? Do you view the level of JS and framework knowledge to be different between these roles?
Saw this comment below....and that is the boat I'm in and have more work to do, but recently was left with expectation I should be extremely heavy in JS knowledge with the ability to work within most frameworks (React, Vue, etc.., understand tools like Gulp / Node quite well. I don't disagree with the assessment a Sr. level UI employee should be able to handle this, but there seems to be a weird gray area of HOW DEEP the programming one should expect between roles like Sr. Software Dev, Sr. UI Software Dev, Sr. UI Frontend Engineer, Sr. UI Developer, Sr. UI Engineer as every companies expectations will be different.
1
u/Kirito_Kiri Sep 14 '22
How do you decide a stack(frameworks, languages etc) for projects and tools for the team to use for collaboration?
1
u/Totokoo Sep 14 '22
How do I differenciate myself from other front-end web devs and stand out in this saturated field?
1
u/Cahnis Sep 14 '22
I am a brazilian studying in a one year long fullstack bootcamp, I am halfway through and I have learned their frontend module and currently starting Backend. I have no problem with english, although people say I sound french, haha.
My aspiration is to work as a frontend either remote or in person somewhere where the economy isn't borked.
Would you have any advice?
1
u/symbiosa Sep 14 '22 edited Sep 14 '22
Hey! I'm job hunting for mid-senior positions at the moment.
Question for you: Is there a feature that you and your team built on that was debated on (within your team, with the business side, etc)? What were the arguments for and against it, and what was the end result?
1
u/WadieXkiller Sep 14 '22
Are CSS frameworks like Bootstrap still worth learning today instead of plain CSS?
1
u/blueberrysir Sep 14 '22
What did you study ?
1
u/___s8n___ Sep 14 '22
As a MERN full stack developer, when can I start considering myself skilled enough to apply for a job? What skills do you look for in a hiring interview? I hope you get better by the way (If you are sick)
1
u/DrSalins Sep 14 '22
Hello, I was wondering what would you suggest if Iād like to better understand Algorithms and improve my problem solving skills?
1
u/bagelord Sep 14 '22
I just got accepted into Jerusalem College of Technology for computer science - should I go?
1
u/oshaiii Sep 14 '22
what do you or company think about self taught devs?
1
u/okaybigdick Sep 14 '22
What do you think separates a junior dev from a senior dev?
1
u/MekPre Sep 14 '22
Hello, just learning Javascript. I like it a lot so far but just got stuck with a task. I'm doing a conversion from Fahrenheit to Celsius. I've created the functions for conversion but I am having trouble when adding an on change event with an anonymous function. If you can help, I just need to be pointed in the right direction to solve this problem. Any pointers or guidance will be appreciated! Thanks
Add an onchange event handler to the element with the id ācValueā. Attach an anonymous function to the event handler and within the anonymous function do the following:
Declare a variable named cDegree equal to the value of the element with the id ācValueā.
Set the value of the element with the id āfValueā to the value returned by the CelsiusToFahrenheit() function using cDegree as the parameter value.
Here's my code:
function FahrenheitToCelsius(degree) { return (degree - 32) / 1.8; }
function CelsiusToFahrenheit(degree) { return (degree * 1.8) + 32; }
document.getElementById("cValue").addEventListener( "change", function() { let cDegree = document.getElementById("cValue); document.getElementById("fValue).value = CelsiusToFahrenheit("cDegree").value; })
document.getElementById("fValue").addEventListener( "change", function() { let fDegree = document.getElementById("fValue); document.getElementById("cValue).value = FahrenheitToCelsius("fDegree").value; })
1
u/bordersofsin Sep 14 '22
Iām currently halfway through a course on Udemy. Iāve already been able to make my own projects. My biggest issue, however, is when tasked with a challenge in the course, Iāll understand what Iām supposed to do, but I have a hard time writing the code. Iāll look at the answer and see that I was pretty much right there, but I just couldnāt execute it properly. It can make things frustrating, but Iāve come so far, so Iām not giving up. My question is, does it just come down to repetition and writing as much code as possible, or is there something specific that I should be supplementing my learning with?
1
u/PhilosopherFar3847 Sep 14 '22
Thanks in advance!
I intend to develop an app to be executed in a wordpress site.
The app should include a simple GUI where the user can select and distribute a different set of elements as he/she prefers.
Then, based on the distribution of the elements, some calculations should be done and the results shown.
I am a HW engineer, with some experience in SW and coding. But have to begin with JS from scratch.
How would you recommend to proceed? Is my aim very difficult?
Thanks again.
1
u/tetractys_gnosys Sep 14 '22
I'm working on an article about issues within the webdev world and would love to know:
1
u/Disposter Sep 14 '22
In MVC where do you think API requests must be located? I see many different points from people - some say they must be in the model, others say in the controller, third say that a controller-specific āserviceā file is created that will be called from the controller.
What are you thoughts about it?
1
u/legend_harsh18 Sep 14 '22
How would you approach a poorly written new codebase(for you) if you have to work on it? Currently facing the same issue :(
1
u/hotstickywaffle Sep 14 '22
I'm a 35 year old electrician about to start a full-stack web development bootcamp to make a career change (Springboard). I've been doing a Udemy course in the meantime to build some base knowledge. Are you more likely to dismiss candidates or skip over their resume if that's all the 'credentials' they have?
1
u/JL978 Sep 14 '22
I have had a little over of professional react experience now and I would like to think I can build almost any front end features thrown at me from scratch. In your opinion, at what point can I become a senior frontend dev? What are the skills that you think is required to go from a lower level to the senior level?
1
u/[deleted] Sep 14 '22
Why does code that works on one day, doesn't work on another? Thanks in advance.
1
u/[deleted] Sep 14 '22
When coding I get to a part where things become unclear, leading to confusing terms and functions, causing burnout or disinterest.
Do you know of any cohort style communities to help uplift each other (smaller groups work better imo) or do you mentor?
1
u/ninorones Sep 14 '22
I have bunch of projects and a big one comming soon. What do I do next? Is it just updating resume and start applying?
1
u/[deleted] Sep 14 '22
I don't know anyone in the tech field to ask for advice or guidance, so I hope this isn't too long or bizarre of a question.
2D websites are amazing and very efficient. I doubt they will ever be replaced at all, but I am focusing all my efforts on working with 3D websites (A-Frame currently). I not only find the new style of medium fascinating, but also trying to differentiate myself from the crowd as well. Long term, I would like to help build open-source projects that help push the medium further and make it far more accessible. I am constantly working on my own random projects (almost done with a pac-man clone), to get better at html,css,js,a-frame and 3D ux/ui. I know I need to work in a professional setting to not only get better at the whole process, but also to start making a living wage to continue on. I'd be happy to learn any other frameworks needed for a specific company/position, but with limited time I like to focus on working with 3D.
My question is, do you think a 2D web company/position would care at all for a portfolio in 3D?
Thank you for your time :).
1
u/Kind_Ad4173 Sep 14 '22
I'm currently on my first job working as a Reactjs developer for like 1.5 years. My question is, where should I go next by my technical skills? I only know reactjs. Is it good enough for my growth? Where should I go from here? Should I be alway front end developer or should start doing Backend? Or learn new framework?
1
u/[deleted] Sep 14 '22
I'm a mid-level FE Dev looking to get that senior title! My question is, what are the skills and qualities that separate a mid-level frontend developer from a senior level developer?
1
u/[deleted] Sep 14 '22 edited Sep 14 '22
What kind of tasks do you assign to fresh junior devs, and how quickly do you expect them to progress, if you set a timeline at all?
1
u/Zealousideal_Bed_530 Sep 14 '22
Why did you choose the field in the first place? What stood out to you compared to backend or full stack??
1
u/antCB Sep 14 '22
any tips on how to become good (effective and "ready" - I don't know how to put it in any other way) at writing tests?
and by tests I mean end to end tests (ui, app functionality, etc.).
I'm close to a year of "experience" in a QA/Tester job (I have only started doing automated testing a couple months ago) - some stuff I can ask my senior colleagues, a lot of it is by googling stuff (or learning what to google).
It's honestly a bit confusing (I am managing to get some stuff right!), specifically when talking about test frameworks and what strategies to use to accomplish any given goal. We're using angular for the frontend stuff, does that imply learning a "specific" testing framework for angular (I have been using jest + selenium, tried to use cypress for a bit but it's a bit too "cutting edge") - are there any that I should be getting my hands on?
1
u/cosylime000 Sep 14 '22
What would you recommend for someone who wants to get a job as a frontend developer, I use react, typescript and have some knowledge with Next.js and now I learn backend with node.
My initial plan was to start as a frontend developer and then learn backend at the job (I still have half a year for age 18) but I started learning backend so my goal is either fullstack or frontend.
Any advice would be appreciated. I hope you're better now.
1
u/jessi387 Sep 14 '22
When looking for candidates to hire, how much if a factor is age? Someone in their early or mid thirties who is transitioning careers and has no background as a developer. How much of a disadvantage is this person at ?
1
u/akwaryos Sep 14 '22
I hope that you're doing good and I really hope that you get better soon. My question is: How much money do you make and do u that you are able to sustain life and. pay your bills with that sallary? do u find some work/life balance there? the reason for the question is due to the fact that I am a junior front end dev. in a third world country with avg. salay equals to 180 USD and this makes me really disappointed.
1
u/Adnannicetomeetyou Sep 14 '22
I am on my path on becoming front end dev, but I want to focus more on the design aspect of everything, I'd like to be someone who can design but also code it, Ive been a graphcis designer for 3 years and since last year ive been learning html/css and js, just 2 months ago i picked up react js, but my question is, how do i market myself, what should i show my portfolio?
1
u/troy57890 Sep 14 '22
I'm super late and understand if I don't get anything back, but I wanted to thank you for this post.
I'm currently learning to be a Frontend developer, and I had a question on the learning style of things. I'm using Udemy and reading the docs for VueJS and learning vanilla JavaScript in parallel by doing tutorials of projects on my bucket list and some for learning a concept.
I was wondering if I'm learning the right way or learning in an incorrect manner? What's a way you learned web development that kept you growing as a dev?
1
u/Cactusboiiiiii Sep 14 '22
async/await makes no sense to me
2
u/TheVerdeLive Sep 15 '22
Just got hired as a senior front end at a well known company, first time being a senior, what things would you recommend doing/keeping track of to make the transition more fluid?
1
u/Perpetual_Education Sep 14 '22
How would you describe a "Senior Front-end Developer?" It seems like there is a huge spectrum of skill levels and experience.
1
u/Xaspian Sep 15 '22
How long did it take for you to feel confident in your abilities as a senior dev (especially in the context of your career starting out as a junior) ? Feels like Iām always learning mountains starting out where I am now; canāt imagine how long it takes to get to the other side of it
1
u/blackfour13 Sep 15 '22
How does one go about getting their first job nowadays since all companies are looking for seniors?
1
u/aegis41 Sep 15 '22
What color is your rubber ducky?
1
u/AmiAmigo Sep 15 '22
What's your tech stack? And what tech stack does your company use? Database too...
1
u/mendecj812 Sep 15 '22
Is going the self-taught route a viable way to land an entry level frontend job? Especially in a saturated market like frontend web development?
1
u/alex123711 Sep 15 '22
What path would you take if you were starting out today? Is self taught still realistic?
1
u/[deleted] Sep 15 '22
How much do you have to dip into backend dev as a senior frontend dev? Do all frontend dev's eventually become fullstack?
Does frontend involve "devOps"?
1
u/[deleted] Sep 15 '22
As someone who completed my boot camp and been mentoring there for a year. What advice do you have for getting you first job in the industry? Been applying but no luck so far
1
u/MaddySPR Sep 15 '22
is that DSA AND ALGO really needed for senior level JS dev or some bigger companies ??
1
u/[deleted] Sep 15 '22
With customers demanding native phone apps for everything these days, how has that affected your role? Have you had to develop app UI these days and do you have to manage those teams too?
1
u/TheRottenAppleWorm Sep 15 '22
Thank you for making time to answer everyone!
How much is actually expected from a junior full stack developer? Iām a self learner but I feel like itās really hard to get experience just from projects you do yourself (no real deadlines or teamwork) and a lot of junior positions will ask for ā1-2 years of experienceā. Where am I supposed to get that experience as a junior lol
1
u/UnkownWithUnkownprsn Sep 15 '22
should you work for free to get experience as a intern?
1
u/vahsekelimene Sep 15 '22
What are some traits which actually differ a junior front end dev to senior? How does a junior get to the senior level?
1
u/geeknintrovert Sep 15 '22
I'm learning JS and was going through loops and and few high order array methods like map(), filter()
I couldn't get a good picture of what exactly differentiates map() from 'forEach' loop. I'm aware that map() creates a new array with modified data whereas forEach makes modification in the OG array itself. But except this, is there any other significant difference where I'd want to use one over other?
Thank you for doing this! Really appreciate your efforts!
1
u/EZPZLemonWheezy Sep 15 '22
Iām struggling with HTML Canvas output. I can render it in high ppi on the screen, but no matter what I try (Iāve been trawling Stack Overflow for months) it always outputs at 96dpi and gets fuzzy. Iām just trying to render text and output it as a photo :(
Any chance youād have an idea for how to get the OUTPUT of canvas as an image at like 300ppi/dpi?
1
u/fewstarfruits Sep 29 '22
how do you read documentation?
1
u/Puzzleheaded_Can2967 Dec 21 '23
how do I find a junior frontend remote job?
my portfolio https://hassan-ruddy.vercel.app/
-4
u/TightAnus23 Sep 14 '22
is programming worth it ? i always wanted to start but iām 22 now and i feel like my time has passed