Aozen
KPCKevin Powell - Community
•Created by Aozen on 1/23/2024 in #front-end
is it a bad practice to use <br> to break line at a specific word in html?
77 replies
KPCKevin Powell - Community
•Created by Aozen on 2/28/2023 in #front-end
for some reason paint-order is not working on chrome but https://caniuse.com/?search=paint-order
39 replies
KPCKevin Powell - Community
•Created by Aozen on 1/22/2023 in #front-end
learning menus
i have been trying to learn how to build menus but so far everyone is doing it differently, anyone knows where i can find professional website menus either tutorial (preferably) or code and i try to understand it.
1 replies
KPCKevin Powell - Community
•Created by Aozen on 1/16/2023 in #front-end
is there a better way than performance.now() to tell how long the execution took?
is there like a 1 line solution i think i saw someone who did it once but i can't remember but is there a way to know how long something took to execute but in a faster way than these 4 lines or 3 if we dont console log start?
let start = performance.now();
console.log(start);
console.log("hello"); let timeTaken = performance.now() - start;
console.log("hello"); let timeTaken = performance.now() - start;
9 replies
KPCKevin Powell - Community
•Created by Aozen on 1/13/2023 in #front-end
anyone can help me find the mdn resource for return types? example is
function add(x: number, y: number): number {
return x + y;
}
let myAdd = function (x: number, y: number): number {
return x + y;
};
so basically i forgot what those were called type casting or type coercion or other
50 replies
KPCKevin Powell - Community
•Created by Aozen on 12/7/2022 in #front-end
do clamps work on image width?
i tried using this on 2 images but it does not seem to ever reach a minimum width anyone has a clue on how clamp works when mixed with image sizes?
width: clamp(0.5rem, 2vw +1rem ,5rem);
23 replies
KPCKevin Powell - Community
•Created by Aozen on 12/1/2022 in #front-end
in the last part of the video the event listener is set to once true but won't we need it later?
16 replies
KPCKevin Powell - Community
•Created by Aozen on 11/26/2022 in #front-end
does anyone know what is that %l selector and where it came from?
21 replies
KPCKevin Powell - Community
•Created by Aozen on 11/26/2022 in #front-end
is there still any benefit to using em or rem in media queries? can't we just use pixels now?
?
27 replies
KPCKevin Powell - Community
•Created by Aozen on 11/25/2022 in #front-end
anyone knows where i can read about cascade layers
https://www.youtube.com/watch?v=NDNRGW-_1EE
in this video kevin mentions 3 layers and i want to know where can i get info on the 3 layers and how he knows about them ( since i never heard of them even remotely being mentioned almost anywhere).
6 replies
KPCKevin Powell - Community
•Created by Aozen on 11/24/2022 in #front-end
anyone knows why the second css rule is not overwriting the first?
12 replies
KPCKevin Powell - Community
•Created by Aozen on 11/24/2022 in #front-end
anyone knows what is the * + * selector?
anyone knows what is the * + * selector?
44 replies
KPCKevin Powell - Community
•Created by Aozen on 11/15/2022 in #front-end
can anyone give me an example of why would we ever use em when we can user rem?
i am confused if anything really justified the em.
10 replies
KPCKevin Powell - Community
•Created by Aozen on 11/12/2022 in #front-end
can anyone explain to me on a deep level of what is display block and display inline?
i want t know the full difference and how they work and hopefully its okay to ask this
8 replies
KPCKevin Powell - Community
•Created by Aozen on 11/12/2022 in #front-end
does anyone know about an article on why justify-self does not work?
does anyone know about an article on why justify-self does not work?
5 replies
KPCKevin Powell - Community
•Created by Aozen on 11/11/2022 in #front-end
does anyone know why raising specificity in css could lead to problems?
https://www.youtube.com/watch?v=Ek1JP3BzbhY based on this video
3 replies
KPCKevin Powell - Community
•Created by Aozen on 11/2/2022 in #front-end
can anyone tell me what is the difference between align items ( baseline and flex-start) ?
can anyone tell me what is the difference between align items ( baseline and flex-start) ?
6 replies
KPCKevin Powell - Community
•Created by Aozen on 10/18/2022 in #front-end
can someone show me the order of background shorthand?
when i use background : no-repeat cover url("image needed");
for some reason the cover is breaking the image and i don't understand why
7 replies