September 2, 2022

Frontend interview

2. Div va span taglarining farqi nimada?

A div element is used for block-level organization and styling of page elements, whereas a span element is used for inline organization and styling.

2. Semantic elementlar nima va qayerda ishlatamiz?

Ko'zlari ojiz insonlarning web siteni o'qishda yordam beradi!!!

3. data-* Attributi nima uchun ishlatiladi?

3.Css fileni HTML filening qayerida ulagan maqul?

5.script script async and script defer farqlari nimada?

https://stackoverflow.com/questions/10808109/script-tag-async-defer

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script

https://javascript.info/script-async-defer

6.canvas and svg in html difference between?

https://www.geeksforgeeks.org/difference-between-svg-and-html-5-canvas/

CSS

1. box-sizing: border-box; ning vazifasi nima?

https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing

2.inline block and inline-block difference ?

https://www.w3schools.com/css/tryit.asp?filename=trycss_inline-block_span1

https://www.w3schools.com/css/css_inline-block.asp

https://stackoverflow.com/questions/9189810/css-display-inline-vs-inline-block#:~:text=block%3A%20demands%20its%20own%20line,same%20line%2C%20but%20has%20borders.

3. px em rem difference?

https://elementor.com/help/whats-the-difference-between-px-em-rem-vw-and-vh/