Step 1 of 6
Binary, hex and Boolean logic
Computers only store on/off values (bits). Group 8 bits and you get a byte, enough for a number from 0 to 255. Hexadecimal (like #FF5733 in a color) is just a compact way to write bytes. Boolean logic (AND, OR, NOT) is how every if-statement and permission check eventually gets decided.
Why it matters when you build with AI: When an AI writes if (user.isAdmin || isOwner && canEdit), the order those operators are evaluated in decides who can edit your data. Knowing Boolean logic lets you catch that.
Quick check
What is 255 in hexadecimal?
255 = 11111111 in binary = FF in hex. Each hex digit is 4 bits.