Full-Stack Interview Questions
Over 70 actual interview questions to help you prepare for your Full-Stack Interview Questions. The questions are arranged by topics - General, JavaScript, jQuery and HTML/CSS.
Answers to these questions can be found on my CodePrep website.
If these get value from these questions, please star my repo! Thanks!
Table of Contents
- [General Questions]('#general questions')
- [JavaScript Questions]('#javascript questions')
- [jQuery Questions]('#jquery questions')
- [HTML/CSS Questions]('#html/css questions')
- Answers
- Author
- Contributing
General Questions
-
What is your favorite new library / framework / technology?
-
What tools do you use to debug your code?
-
What is a factory pattern?
-
Describe some code you wrote that you would write differently if you were writing it today?
-
What are some common storage structures?
-
Tell me about a challenging interaction with a teammate?
-
Why should we hire you?
-
Tell me something about yourself that is not on your resume?
-
Have you ever been in a situation where you were asked to do something you weren't sure was morally right? Explain how you handled it.
-
Describe a situation where you had to deliver bad news or report a significant problem with a project to your boss or to a client.
JavaScript Questions
-
What is JavaScript?
-
What are the differences between the following expressions:
-
What is hoisting in JavaScript? Provide an example?
-
Is this valid JavaScript? Why or why not?
-
What is 'this' keyword in JavaScript?
-
What will be the output to the console for the following?
-
How do you remove a property from an object?
-
What will be the output to the console for the following?
-
What is the difference between substr and substring? Provide an example showing how to use each.
-
What will be the output to the console for the following?
-
Why would you ever wrap an entire function or source file in a function block?
-
What do the following statements return?
- What is a "closure" in JavaScript? Provide an example.
- What is the output from the following code?
-
What is the difference between a function declaration and a function expression?
-
What is the output from the following code?
-
List all the JavaScript data types?
-
Write a multiply function that will produce the following outputs when invoked.
-
What is strict mode in JavaScript? How do you implement it? Why would you use it?
-
Answer the following questions.
-
Your function takes one parameter. How would you verify that the parameter is an array?
-
What is event bubling?
jQuery Questions
-
What is jQuery and why would you use it?
-
What does this command do?
-
How do you deal with cross domain requests?
-
What does the following command do?
-
Can you list some HTTP verbs?
-
What is the difference between $(document).ready and window.onLoad()?
-
Can you delay the execution of $(document).ready?
-
Can you have more than one $(document).ready function on the same page?
-
Would you use jQuery for client side scripting or server side scripting?
-
What is the difference between jQuery detach() and remove() functions?
-
What is the difference between jQuery.ajax() and jQuery.get()?
-
What does the dollar sign ($) mean in jQuery?
-
What does the following code do?
-
Can you replace the dollar sign ($) in jQuery with your own chosen character?
-
What is the difference between get() and post()?
-
How can the style of an element be changed?
-
How would you load jQuery from a CDN? How would you load jQuery if the CDN is not working?
-
How can the class of an element be changed?
-
Which is faster getElementsByTagName() or querySelectorAll()? Why?
-
What is the difference between .textContent and .innerText?
-
What is method chaining in jQuery. Provide an example.
HTML/CSS Questions
-
In CSS what is the difference between an id and a class?
-
What are sprites and why would you use them?
-
Write a CSS selector to select only the inner two li's in the markup below:
-
What does the box-model refer to in CSS?
-
What is the difference beween :link and :visited?
-
Write a CSS selector to select only the first li of the inner two li's in the markup below:
-
Can an HTML element have multiple classes?
-
Using CSS properties alone, recreate this button: (*from Mobify's CodePen account) button
-
What are media queries and why would you use them?
-
What is the difference between these three selectors?
-
What are some ways to change the location of an element on a page via CSS?
-
What would a table look like with this css applied?
-
Is there a way to change the box-model?
-
What is the difference between visibility: hidden and visibility: none?
-
Given this CSS:
What would this HTML look like when rendered?
-
How do you clear a floated element?
-
What is specificity in CSS? Give examples of all levels.
-
What will the HTML look like for the following?
-
What are Sass and LESS? Why would you use them?
-
What is a "reset" CSS file? What is normalize.css? Are they the same or different?
-
What is the difference between inline, inline-block and block?
Answers
You can get the answers to all of these questions on my CodePrep website. Also on the website I have 30 more questions in a quiz that you can take online.
Author
- Product Owner: Jennifer Bland
I am a Software Developer with over 10 years of development experience. I am the author of the book "Developing e-Business Applications Using Lotus Domino on the AS\400".
Contributing
See CONTRIBUTING.md for contribution guidelines.