Telegram Group & Telegram Channel
Web Development Interview Questions for Freshers

1. What happens when you type a URL in your browser and press Enter?
Answer:

DNS lookup happens to find the IP address

Browser sends an HTTP/HTTPS request to the server

Server processes and sends back HTML/CSS/JS

Browser renders the page using its rendering engine


2. What is the difference between GET and POST requests?
Answer:

GET: Sends data in the URL, used for fetching data

POST: Sends data in the body, used for submitting data securely


3. What is a responsive website?
Answer:
A responsive website adjusts layout and design based on screen size and device (mobile, tablet, desktop), usually using CSS media queries.

4. What is the role of Webpack in web development?
Answer:
Webpack bundles JavaScript files, CSS, and assets into optimized output for faster website loading and better performance.

5. What is the purpose of async and defer in script tags?
Answer:

async: Loads script asynchronously and executes it immediately

defer: Loads script asynchronously but executes after HTML is parsed


6. What is the difference between localStorage and sessionStorage?
Answer:

localStorage: Stores data with no expiration

sessionStorage: Stores data until the browser tab is closed


7. What is CORS?
Answer:
CORS (Cross-Origin Resource Sharing) is a browser security feature that restricts cross-domain API calls unless the server allows it.

8. What is the difference between null and undefined in JavaScript?
Answer:

undefined: A variable declared but not assigned a value

null: A variable explicitly set to have no value


9. How do you optimize website performance?
Answer:

Minify CSS/JS

Compress images

Use lazy loading

Use caching

Reduce HTTP requests

Use a CDN


10. What is the DOM?
Answer:
DOM (Document Object Model) represents the structure of an HTML document as objects, which JavaScript can interact with to change content dynamically.

Credits: https://whatsapp.com/channel/0029VaiSdWu4NVis9yNEE72z/847



tg-me.com/webdevcoursefree/2206
Create:
Last Update:

Web Development Interview Questions for Freshers

1. What happens when you type a URL in your browser and press Enter?
Answer:

DNS lookup happens to find the IP address

Browser sends an HTTP/HTTPS request to the server

Server processes and sends back HTML/CSS/JS

Browser renders the page using its rendering engine


2. What is the difference between GET and POST requests?
Answer:

GET: Sends data in the URL, used for fetching data

POST: Sends data in the body, used for submitting data securely


3. What is a responsive website?
Answer:
A responsive website adjusts layout and design based on screen size and device (mobile, tablet, desktop), usually using CSS media queries.

4. What is the role of Webpack in web development?
Answer:
Webpack bundles JavaScript files, CSS, and assets into optimized output for faster website loading and better performance.

5. What is the purpose of async and defer in script tags?
Answer:

async: Loads script asynchronously and executes it immediately

defer: Loads script asynchronously but executes after HTML is parsed


6. What is the difference between localStorage and sessionStorage?
Answer:

localStorage: Stores data with no expiration

sessionStorage: Stores data until the browser tab is closed


7. What is CORS?
Answer:
CORS (Cross-Origin Resource Sharing) is a browser security feature that restricts cross-domain API calls unless the server allows it.

8. What is the difference between null and undefined in JavaScript?
Answer:

undefined: A variable declared but not assigned a value

null: A variable explicitly set to have no value


9. How do you optimize website performance?
Answer:

Minify CSS/JS

Compress images

Use lazy loading

Use caching

Reduce HTTP requests

Use a CDN


10. What is the DOM?
Answer:
DOM (Document Object Model) represents the structure of an HTML document as objects, which JavaScript can interact with to change content dynamically.

Credits: https://whatsapp.com/channel/0029VaiSdWu4NVis9yNEE72z/847

BY Web Development


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/webdevcoursefree/2206

View MORE
Open in Telegram


Web Development Telegram | DID YOU KNOW?

Date: |

Spiking bond yields driving sharp losses in tech stocks

A spike in interest rates since the start of the year has accelerated a rotation out of high-growth technology stocks and into value stocks poised to benefit from a reopening of the economy. The Nasdaq has fallen more than 10% over the past month as the Dow has soared to record highs, with a spike in the 10-year US Treasury yield acting as the main catalyst. It recently surged to a cycle high of more than 1.60% after starting the year below 1%. But according to Jim Paulsen, the Leuthold Group's chief investment strategist, rising interest rates do not represent a long-term threat to the stock market. Paulsen expects the 10-year yield to cross 2% by the end of the year. A spike in interest rates and its impact on the stock market depends on the economic backdrop, according to Paulsen. Rising interest rates amid a strengthening economy "may prove no challenge at all for stocks," Paulsen said.

Telegram is riding high, adding tens of million of users this year. Now the bill is coming due.Telegram is one of the few significant social-media challengers to Facebook Inc., FB -1.90% on a trajectory toward one billion users active each month by the end of 2022, up from roughly 550 million today.

Web Development from us


Telegram Web Development
FROM USA