Frontend Interview Questions: HTML CSS JavaScript React

Attended another frontend interview and wanted to share the questions that were asked. Posting this so it can help others who are preparing. 𝗛𝗧𝗠𝗟 & 𝗖𝗦𝗦   • Difference between inline, block, and inline-block   • How do media queries work?   • How do you add responsiveness to a website?   • Positioning: absolute vs relative vs fixed vs sticky 𝗝𝗮𝘃𝗮𝗦𝗰𝗿𝗶𝗽𝘁   • Difference between getElementById and querySelector   • Difference between var, let, and const   • What is hoisting? Why does it happen?   • What is the event loop?   • Difference between synchronous and asynchronous JavaScript   • Fetch API – how it works (basic code explanation) 𝗥𝗲𝗮𝗰𝘁   • What is React and why do we use it?   • What is rendering in React?   • What is state?   • What is useEffect and when is it used?   • Difference between state and props   • Can child components modify props received from parent? 𝗥𝗼𝘂𝘁𝗶𝗻𝗴 What is a router? Types of routers in React 𝗖𝗦𝗦 𝗙𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸 What are Tailwind utilities? Why use Tailwind CSS? 𝗛𝗥 / 𝗕𝗲𝗵𝗮𝘃𝗶𝗼𝗿𝗮𝗹 𝗣𝗿𝗼𝗷𝗲𝗰𝘁 𝗘𝘅𝗽𝗹𝗮𝗻𝗮𝘁𝗶𝗼𝗻 Every interview teaches something new. Still learning, still improving. Hope this helps someone preparing for frontend interviews 🚀 #FrontendInterview #ReactJS #JavaScript #CSS #HTML #InterviewExperience #BuildInPublic #LearningJourney

hi shruti. thank you for this. i'll be working on these.

This is really helpful, thank you for sharing! 🙌 I haven’t had my first frontend interview yet, and this post taught me a lot about what to expect and what I should focus on studying. Definitely saving this for my preparation. Still learning and improving too 🚀

Tqu for sharing it is very useful

See more comments

To view or add a comment, sign in

Explore content categories