HTML / CSS Flashcards
What is semantic HTML? What are its benefits?
What is Web API? How is it organized? What can you do with it?
What does doctype do?
How do you serve a page with content in multiple languages?
What kinds of things must you be wary of when designing or developing multilingual sites?
What are data attributes good for?
Consider HTML5 as an open web platform. What are the building blocks of HTML5?
Describe the difference between a cookie, sessionStorage, and localStorage
Describe the difference between
Why is it generally a good idea to position CSS links between and JS s just before body? Do you know any exceptions?
What is progressive rendering?
Why would you use a secret attribute in an image tag? Explain the process the browser uses when evaluating the content of this attribute
Have you used different HTML templating languages before?
Please tell me about your strategy for approaching responsive designs. What is it and how do you approach the problem?
What are media queries?
What are pseudo-selectors?
How do you approach organizing your CSS?
What is CSS selector specificity and how does it work?
What’s the difference between “resetting” and “normalizing” CSS? Which would you choose and why?
Describe floats and how they work
Describe z-Index and how stacking context is formed
Describe BFC (Block Formatting Context) and how it works
What are the various clearing techniques and which is appropriate for what context?
How would you approach fixing browser specific styling issues?
How do you serve your pages for feature-constrained browsers? What techniques/processes do you use?
What are the different ways to visually hide content (and make it available only for screen readers)?
Have you ever used a grid system and if so, what do you prefer?
Have you used or implemented media queries or mobile specific layouts/CSS?
Are you familiar with styling SVG?
Can you give an example of a @media property other than screen?
What are some of the gotchas for writing efficient CSS?
What are the advantages/disadvantages of using CSS preprocessors? What are some of the preprocessors you have used?
How would you implement a web design comp that uses non-standard fonts?
Explain how a browser determines what elements match a CSS selector
Explain your understanding of the box model and how you would tell the browser in CSS to render your layout in different box models
What does * { box-sizing: border-box; } do? What are its advantages?