23/11
TOP - Intermediate HTML and CSS: 18%.
Intermediate CSS Concepts - CSS Units (day 2)
Continue reading CSS values and units on MDN.
Getting bug from MDN playground, the sandbox webpage is suddenly unable to load for some reason. The html, css and javascript section is normal but the webpage is a blank.
After searching a bit, I solved this by deleted my browser cookies and cache of 24h.
Learned a bit about cookies and cache:
Cookies are small text files contain information of the user ( like login, preference,...)
Cache is temporary storage for the website files ( images and scripts ) that help page load faster.
Probably my cache got corrupted leading to this bug.
Because of this bug, I can only read a bit, mostly about percentage and color.
Percentage is often used to take relative percentage value of the parent element.
Example: width: 80% mean this element have the width = 80% the width of the parent element.
Likewise with other elements.
Reading about hexadecimal RGB and get frustrated with how to convert it to RGB leading me to have to learn how to calculate hexadecimal to normal number ( 10-base, decimal ).
FF80C3 = RGB((15*16 + 15*1), (8*16 + 0*1), (12*16 + 3*1)) = rgb(255,128,195)
Yeah, this click, now I understand how to convert hexadecimal rgb to rgb but I will not deal with this shit. Should just go straight to rgb.