The best measurement unit?
What is the best measurement unit that should be used in general. Like, px, %, em, vw, etc.
This is obviously a subjective question, but in general, it is best to use relative measurements for values that can change their length. For example, if a user with bad eyes uses a larger font in their browser settings, em and % will change the font to reflect the non-default settings. px and other absolute measurements will not. Absolute measurements should be used only when the physical output is known to be constant. If you are making a page that you expect to be printed onto a special size paper for instance. I can't really think of any other reasons off the top of my head. 9/10 times you will use em or %. So even though they are more difficult to understand, you should put time into learning them.
Thanks for ur help Ryne. Even i use the 'em' unit most of the times.
Why are my users being logged as [object Object] when logging my array/user instead of giving me the values [name, age]?
JS in sololear is latest version or older? What do we use often VAR or LET and CONST?? I Have VAR is no longer used is it true??
Как сравнивать строки в Phyton?
Kotlin get if Var doesn't exist
Sololearn bug @mentors