This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Frontend Engineering | |
https://codeshare.io/XLlwbj | |
https://codeshare.io/1VbgEq | |
https://codeshare.io/VN3OoO | |
Digital Marketing Agency Services | |
https://codeshare.io/Yz77bQ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Problem solving round (dsa or javascript related) | |
2. Machine coding round or UI Task (either in vanilla JavaScript or React) | |
3. Theoretical questions on JavaScript, react, next, typescript, web fundamentals, css and html | |
4. System design (Not to be expert but at least have basic knowledge) | |
react challenges | |
coding challenges (array, string ....etc) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The useRef Hook allows to persist values between renders. | |
It store a mutable value that does not cause a re-render when updated. | |
It is used to access a DOM element. | |
// Use useRef to keep track of previous state values: | |
// https://www.w3schools.com/react/showreact.asp?filename=demo2_react_useref3 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
what are semantic tags | |
- The semantic tags help the search engines and other user devices to determine the importance and context of web pages. | |
these are more readability tags like header section main nav footer article aside etc. | |
diff b/w HTML4 and HTML5 | |
- HTML4 has fewer elements, tags, and attributes compared to HTML5. | |
how to select nth element in nested element | |
- using :nth-child() | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What is Node Js | |
It's a JavaScript runtime environment which allows us to run JS code on our operating system or basically out side the browser. | |
what are the components of NodeJs design pattern | |
JS world, V8, bindings, c++(libuv) etc.. | |
NodeJs is a singlethreaded or multithreaded | |
It's singlethreaded and multithreaded as well , actully It's depends upon What task we are performing in nodejs | |
like if we are writing simple JS code like for loop or any if statement then it's a single thread and | |
if we are reading file or writing file using file system module then it's multithread. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-----------Closure------------> | |
function foo(a){ | |
let x = a + 10; | |
return function(){ | |
return 5 + x; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// total space complexity (TS) = auxillary space complexity (AS) (Algorithmic complexity)+input space compelxexity (IS) | |
function foo(arr){ | |
// O(1); | |
let sum=0 // 1 | |
for(let i=0;i<arr.length;i++){ | |
let temp=arr[i]; // O(1) | |
sum=temp; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
what is react | |
react is a JavaScript library use to build Single-page application | |
why we use react js instead of angular or any farmework or what are the Features of React.js | |
because of it's features | |
use JSX, - JSX allows us to write HTML elements in JavaScript. | |
Virtual DOM - Virtual DOM is like a lightweight copy of the Real DOM, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OOPs.......................................................................................................... | |
Different ways to create an Object | |
what is prototype | |
prototype is an object which associate with all the functions and objects in JavaScript by default. | |
what is prototype chain | |
whenever we are going to create an object , that object associate with the JavaScript default Object (that is prototype) , |