PureCode Software interview question

What is the box model in CSS? How does it impact layout design? Explain the difference between inline, block, and inline-block display properties in CSS. How do you optimize web pages for performance and accessibility? Explain the concept of hoisting in JavaScript. Provide examples. How does asynchronous JavaScript work? Explain using callbacks, Promises, and async/await. What are ES6 features that you commonly use in your projects? Explain their advantages. What is middleware in Express.js? Give examples of middleware functions. Explain the difference between require() and import in Node.js.