Tenkes
Tenkes
Explore posts from servers
KPCKevin Powell - Community
Created by Muhct on 7/11/2024 in #front-end
Px, em, or rem?
Eh I just use rem for everything 😂
15 replies
KPCKevin Powell - Community
Created by lajkmi. on 7/7/2024 in #front-end
API_KEY Problem
Also not sure if you put your API_KEY there just for demo/debugging purposes but just in case I'll warn you not to do that since everyone will be able to access it. Instead you should create ".env" file where you will store it something like this:
API_KEY=my_super_secret_api_key
API_KEY=my_super_secret_api_key
And then access it through that API_KEY variable
12 replies
KPCKevin Powell - Community
Created by lajkmi. on 7/7/2024 in #front-end
API_KEY Problem
Yeah well @lajkmi. you cannot access it like that. You have to fetch it like you already did and then log data to the console
12 replies
KPCKevin Powell - Community
Created by lajkmi. on 7/7/2024 in #front-end
API_KEY Problem
I don't get why are you getting error message like that
12 replies
KPCKevin Powell - Community
Created by lajkmi. on 7/7/2024 in #front-end
API_KEY Problem
Wait are you trying to access that page directly lol? Like you typed URL in your browser?
12 replies
KPCKevin Powell - Community
Created by empty on 7/4/2024 in #front-end
problem with input type number
Not a function. So just .valueAsNumber
8 replies
KPCKevin Powell - Community
Created by lajkmi. on 7/7/2024 in #front-end
API_KEY Problem
Well that shouldn't happen. Try refreshing, restarting server etc?
12 replies
KPCKevin Powell - Community
Created by lajkmi. on 7/7/2024 in #front-end
API_KEY Problem
Line 23. it should be headers not header
12 replies
KPCKevin Powell - Community
Created by Tenkes on 6/28/2024 in #front-end
Problem with horizontal scroll
Yess!! That's exactly what I need! Thank you so much!! 😄
10 replies
KPCKevin Powell - Community
Created by Tenkes on 6/28/2024 in #front-end
Problem with horizontal scroll
I don't think so lol
10 replies
KPCKevin Powell - Community
Created by Tenkes on 6/28/2024 in #front-end
Problem with horizontal scroll
Well I'm basically trying to recreate Instagram's story list. ONE row of stories that can overflow horizontally, and of then of course you can scroll to see other stories. Yes actually there is a reason right-hand column is placed inside middle one. The reason why is the way Next.js (which I'm using) routing works. So I basically made left column global, so it's seen on all pages and only right column is... "dynamic". You can see live version of this app on bt-snapgram.vercel.app and you'll see if you navigate to other pages left column (left sidebar) will always stay where it is. As for you solution... for some reason I see 3 rows of stories? And you have horizontal scrolling on <body> on smaller screens, which i also has problems with
10 replies
KPCKevin Powell - Community
Created by Tenkes on 6/28/2024 in #front-end
Problem with horizontal scroll
Oh and right sidebar should have flex-shrink: 0 so it doesn't shrink.
10 replies
KPCKevin Powell - Community
Created by risha on 6/12/2024 in #front-end
css question
or flex with align-items: stretch
5 replies
KPCKevin Powell - Community
Created by Rhandom Guhy on 6/13/2024 in #front-end
Which Html element should be used?
I'd definitely use table
3 replies
KPCKevin Powell - Community
Created by snxxwyy on 5/12/2024 in #front-end
can't highlight text from pseudo element
pseudo elements cannot be selectable, since they are not actually part of the DOM. If you need text to be selectable, you should put text in something like <span> instead
3 replies
KPCKevin Powell - Community
Created by Dilliwala on 4/29/2024 in #back-end
Login Error
Show some code
7 replies
KPCKevin Powell - Community
Created by NIMA on 4/16/2024 in #front-end
java script game problem
same
22 replies
KPCKevin Powell - Community
Created by Tenkes on 4/14/2024 in #back-end
Next.js v14 | Issue with intercepting and parallel routes
No, that's not how routing works in Next.
6 replies
KPCKevin Powell - Community
Created by NefariousApe on 4/8/2024 in #front-end
get div to be center of screen
Use position: fixed in css
7 replies