GENERAL Flashcards

1
Q

How do you handle cross-browser compatibility issues in front-end development?

A

Cross-browser compatibility can be addressed by using modern web standards, testing websites in different browsers, and using CSS prefixes and polyfills for non-standard features. It’s also important to be aware of browser-specific quirks and limitations and adapt the code accordingly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some techniques for optimizing the performance of a website?

A

Techniques for optimizing website performance include minimizing HTTP requests, compressing and minifying files, using caching, optimizing images, reducing server response time, deferring JavaScript execution, and employing efficient coding practices like code splitting and lazy loading.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Have you worked with any server-side languages like Node.js

A

I have experience working with Node.js for server-side development. I have built RESTful APIs, implemented authentication, and integrated with databases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Explain the concept of a RESTful API and how you have interacted with one.

A

A RESTful API is an architectural style that uses HTTP methods like GET, POST, PUT, and DELETE to interact with resources. I have interacted with RESTful APIs by making HTTP requests using libraries like Axios or the Fetch API. I have also designed and implemented RESTful APIs for my projects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of a database, and how have you used it in your projects?

A

A database is used to store and retrieve structured data. In my projects, I have used databases like MySQL or MongoDB to store user information, product data, or other application-specific data. I have written database queries, managed data relationships, and ensured data integrity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is CORS? How does it work?

A

Cross-origin resource sharing (CORS) is a mechanism that allows many resources (e.g., fonts, JavaScript, etc.) on a web page to be requested from another domain outside the domain from which the resource originated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly