My Interview Experience & Questions Faced (Frontend + JavaScript + SQL)
Source: Dev.to
Interview Overview
Yesterday I attended an interview for a Fresher React Developer role. It was a great learning experience that covered JavaScript, CSS, SQL, and web fundamentals. I was also given a task to clone a webpage using only HTML and CSS.
Questions Faced
JavaScript
- Given
[2,3,1,4]— Find the sum of the array? - Remove duplicates from an array?
- Split the string
"Hello"? - Difference between
==and===in JavaScript?
CSS
- What is inline vs inline‑block in CSS?
SQL
- SQL query to find salary between 50,000 and 80,000?
- SQL query to split salary category above or below 60,000?
- Find the second highest salary in SQL?
- Find employee name and department with highest salary?
Frontend Task
Clone a webpage UI using HTML and CSS only, ensuring a clean layout.
Takeaways
- Confidence matters even if you don’t answer everything perfectly.
- Logic questions in JavaScript require knowledge of array methods and string handling.
- CSS layout concepts are important for UI cloning tasks.
- This interview helped me understand where I need to improve.