kirin-808
KPCKevin Powell - Community
•Created by Vandana on 8/22/2024 in #front-end
Math in JS.
Since the problem lies in the display of the value, and not the value itself.
161 replies
KPCKevin Powell - Community
•Created by Vandana on 8/22/2024 in #front-end
Math in JS.
You probably want .toFixed() to handle that kind of stuff. There's a good example on MDN
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toFixed
161 replies
KPCKevin Powell - Community
•Created by MikeWill245 on 9/27/2023 in #front-end
recreate this layout challenge
Totally agree that as soon as you work with more than one axis, grid is your friend
33 replies
KPCKevin Powell - Community
•Created by ademondev on 9/28/2023 in #front-end
weird white gap on the bottom while scrolling down mobile
You could try to add overscroll-behavior-y: contain on the body
27 replies
KPCKevin Powell - Community
•Created by Blackwolf on 9/22/2023 in #front-end
How do I get HEIGHT or MAX-HEIGHT to work dynamically with TRANSITION in CSS?
You'll need a dummy wrapper around your ul's to hold the grid as this technique needs for the grid to hold only one item
7 replies
KPCKevin Powell - Community
•Created by Malik on 6/10/2023 in #front-end
Top Layer
I suspect a bug with Chromium devtools since it's a pretty recent feature, had the same thing going on on a project I was working on couple of months ago
2 replies
KPCKevin Powell - Community
•Created by kirin-808 on 3/21/2023 in #front-end
Working VS Code extension for Custom Property intellisense
Meh, no go still, ah well, thanks for your time, I'll just go the old way and go back and forth between my files X)
16 replies
KPCKevin Powell - Community
•Created by kirin-808 on 3/21/2023 in #front-end
Working VS Code extension for Custom Property intellisense
or even my main.scss
16 replies
KPCKevin Powell - Community
•Created by kirin-808 on 3/21/2023 in #front-end
Working VS Code extension for Custom Property intellisense
could try with a non minified
16 replies
KPCKevin Powell - Community
•Created by kirin-808 on 3/21/2023 in #front-end
Working VS Code extension for Custom Property intellisense
16 replies
KPCKevin Powell - Community
•Created by kirin-808 on 3/21/2023 in #front-end
Working VS Code extension for Custom Property intellisense
Gives me that error when trying to parse ; ;
16 replies
KPCKevin Powell - Community
•Created by samiM on 3/3/2023 in #front-end
can somebody help me make this responsive please
I would definitely look into making your site "fluid" rather than "responsive", making your site look good in any screen size and saving you a lot of media queries related headaches (and usually saving a lot of lines of code).
5 replies
KPCKevin Powell - Community
•Created by MD on 2/17/2023 in #front-end
ideas for tech with my project
Yeah, it's no wonder most, if not all, mobile application use this parttern nowadays
40 replies
KPCKevin Powell - Community
•Created by MD on 2/17/2023 in #front-end
ideas for tech with my project
40 replies
KPCKevin Powell - Community
•Created by MD on 2/17/2023 in #front-end
ideas for tech with my project
I would personally stay clear of menu at the top of the screen and move it instead in a tab bar at the bottom, if you want to maximize user interaction.
With screen getting bigger and bigger and people still mostly using their thumbs to interact with content of a mobile site, it's a lot more convenient to pull everything down.
40 replies
KPCKevin Powell - Community
•Created by MD on 2/17/2023 in #front-end
ideas for tech with my project
We use Strapi (https://strapi.io) at my agency and it does the job pretty well. Super simple and straightforward. You can query it's data using traditionnal rest endpoints or, graphql is also built-in.
40 replies
KPCKevin Powell - Community
•Created by glutonium on 2/17/2023 in #front-end
track element in real time
JS is awesome (and wait when you get to Typescript, it gets even better!) 😄
105 replies
KPCKevin Powell - Community
•Created by glutonium on 2/17/2023 in #front-end
track element in real time
hey, no worries !
105 replies