html_css_js_interview_questions
html_css_js_interview_questions
5. What is the purpose of the 'defer' and 'async' attributes in script tags?
11. What is the difference between 'visibility: hidden' and 'display: none'?
15. What are data attributes in HTML and how are they used?
16. How can you center a div both vertically and horizontally using CSS?
17. Explain the difference between var, let, and const in JavaScript.