Tag: ecmascript
How can you ensure accessibility when altering the DOM with JavaScript?
Ensuring accessibility when altering the DOM with JavaScript involves several best practices. Here are some key strategies to maintain or enhance accessibility: By following these…
Next generation coding
“Next-generation coding” is a broad term that can refer to several emerging trends and technologies in the field of software development. Here are a few…
Angular Question Answer
Question. What Is @inputs In Angular 2? Answer : @Input allows you to pass data into your controller and templates through html and defining custom…
React – What to add & Not to add as Dependencies
In the previous lecture, we explored useEffect() dependencies. You learned, that you should add “everything” you use in the effect function as a dependency – i.e. all state…
JS Array Functions
Not really next-gen JavaScript, but also important: JavaScript array functions like map() , filter() , reduce() etc. You’ll see me use them quite a bit since a lot of React concepts rely…
Civil Engineer Interview Questions and Answers
1. What Drew You to Civil Engineering? One of the most common civil engineering interview questions is, “Why do you want this job?” Employers in…
Mechanical Engineering Questions and Answers
1. What was the first thing you ever designed? Some of the best mechanical engineers have been creating things their entire lives. Exploring a candidate’s…
How to delete a Git branch locally
How to delete local Git branches To issue the command to delete a local Git branch, follow these steps: Open a Git BASH window or…
ES6 class declaration
ES6 class declaration ES6 introduced a new syntax for declaring a class as shown in this example👆 This Person class behaves like the Person type…
Web Workers
Javascript is single-threaded and multiple scripts can not execute at the same time. So if we execute any heavy computation task, then sometimes our page…