Occasionaly Asked Questions

What is recursion in programming?

Recursion is a technique where a function calls itself to solve smaller instances of the same problem until it reaches a base case.

What is a closure?

A closure is a function bundled together with its lexical environment, allowing it to access variables from its parent scope even after the parent function has finished executing.

What is the difference between == and === in JavaScript?

== is the equality operator that performs type coercion, while === is the strict equality operator that checks both value and type.

What does CSS stand for?

CSS stands for Cascading Style Sheets, which is used for styling web pages.

What is a git repository?

A git repository is a collection of files and their history managed by the version control system Git.

What is the difference between margin and padding in CSS?

Margin is the space outside the border of an element, while padding is the space inside the border of an element.