Frontend Developer Interview Questions

8,954 frontend developer interview questions shared by candidates

Virtual DOM this and arrow function Calculator Assignment instruction was as following. ReactJS Medium Level Objective: To write a React app containing all the relevant JavaScript to produce the required output Write a reusable React Calculator (UI) Add appropriate styling or design as needed (clone windows/mac) Calculator should support: CE button (clear all) C button (clear current value) UNDO button (undo last operation; should work repeatedly) Basic arithmetic operations + brackets (BODMAS) Sine(), Cos() and Tan() operations Show the current operations (like “2 + (3 * 4) - 5” etc.) along with total Button to copy result Input values and operations with keyboard, mouse and touch Backspace key for removing last digit or operation Delete key for removing current value Avoid use of eval() for all of this Show error for incorrect operations (like missing bracket) Write Unit Tests for the above functionalities Guidelines Implement/Write code feature by feature and try completing each requirement completely but individually Please send us back a partial or complete solution by INSERT DATE Use your personal GitHub account to host the solution codebase Write meaningful commit messages Try to write code in a modular and/or reusable style Do not include the name "Asteria Aerospace" in your codebase, files or repositories Keep all communications only in email and confidential Do not seek help of others to write code however use Google as much as you want Do not plagiarise code, we will check for it
avatar

Frontend Lead Developer

Interviewed at Asteria Aerospace

3.9
Jul 4, 2022

Virtual DOM this and arrow function Calculator Assignment instruction was as following. ReactJS Medium Level Objective: To write a React app containing all the relevant JavaScript to produce the required output Write a reusable React Calculator (UI) Add appropriate styling or design as needed (clone windows/mac) Calculator should support: CE button (clear all) C button (clear current value) UNDO button (undo last operation; should work repeatedly) Basic arithmetic operations + brackets (BODMAS) Sine(), Cos() and Tan() operations Show the current operations (like “2 + (3 * 4) - 5” etc.) along with total Button to copy result Input values and operations with keyboard, mouse and touch Backspace key for removing last digit or operation Delete key for removing current value Avoid use of eval() for all of this Show error for incorrect operations (like missing bracket) Write Unit Tests for the above functionalities Guidelines Implement/Write code feature by feature and try completing each requirement completely but individually Please send us back a partial or complete solution by INSERT DATE Use your personal GitHub account to host the solution codebase Write meaningful commit messages Try to write code in a modular and/or reusable style Do not include the name "Asteria Aerospace" in your codebase, files or repositories Keep all communications only in email and confidential Do not seek help of others to write code however use Google as much as you want Do not plagiarise code, we will check for it

Viewing 1201 - 1210 interview questions

Glassdoor has 8,954 interview questions and reports from Frontend developer interviews. Prepare for your interview. Get hired. Love your job.