Skip to content
2 articles

#frontend

2 technical articles tagged with frontend

Code2026-10-21

px, rem, em: What Each CSS Unit Actually Answers, and How to Convert Without Surprises

The boundary between px, rem, and em (root-relative vs parent-relative), the px-to-rem formula and size table, the 62.5% trick's hidden costs, the Safari media-query rem trap, and browser minimum font size — with an online converter.

Read more
Code2026-09-07

How to Fix 'Cannot read properties of undefined (reading map)'

A complete debugging guide for the most common React runtime error: why undefined.map throws, handling async data correctly, optional chaining and default guards, empty-state rendering, and using our JSON tools to inspect the real payload.

Read more