lanszelot
KPCKevin Powell - Community
•Created by lanszelot on 1/19/2025 in #front-end
Flex Center problem (can someone help me please?)
Hello,
I have images. It could be 1, 2, 3, ....30 images.
I would like to center the images.
When the images are overflow I would like to use scroll.
My problem is when the images are more than with I cannot see the first ones.
Scroll bar is there but because of center cannot see all the images.
If I use space-evenly or else, when only few images those are not centered.
Here is an example: https://codepen.io/lanszelot/pen/KwPBXVL
--Link deleted: personal data-- please check Donga Zoltán , he have lot of images How can I center and see all the images?
--Link deleted: personal data-- please check Donga Zoltán , he have lot of images How can I center and see all the images?
12 replies
KPCKevin Powell - Community
•Created by lanszelot on 1/9/2025 in #front-end
CSS how did he do that?
27 replies
KPCKevin Powell - Community
•Created by lanszelot on 7/12/2024 in #front-end
Api image link how to use?
Hello,
This site https://www.dre.cx/ api give this image link:
https://static.wikia.nocookie.net/dragonball/images/4/42/AboSGAHFR.png/revision/latest/scale-to-width-down/350?cb=20100225121539
How can I use this link as image on my website?
79 replies
KPCKevin Powell - Community
•Created by lanszelot on 7/9/2024 in #back-end
Php Json how to get property?
I have a json file.
I would like to get "Zangya" (which is in "animeName")
This gives me:
object(stdClass)#1 (26) { ["animeName"]=> array(1) { [0]=> string(6) "Zangya" } ["address"]=> NULL ["aliasName"]=> array(3) { [0]=> string(3) "Aki" [1]=> string(8) "Zangyaku" .......
5 replies
KPCKevin Powell - Community
•Created by lanszelot on 7/7/2024 in #front-end
JS Fetch Api how to
Hello,
How can I get this site "data"?
https://www.dre.cx/
Fetch response json did not give me back anything.
6 replies
KPCKevin Powell - Community
•Created by lanszelot on 6/24/2024 in #back-end
JS array to Sqlite
Hello,
Here is my website:
https://codepen.io/lanszelot/pen/eYarmbN?editors=1010
This template shows how the website have to work.
How can I save to sqlite database the JS arrays?
Each JS array into different table, but same database.
I did it with php form post but after the first input the website reload itself.
I try to use cookies to mark where I would like to continue the form, but it didn't work perfect.
This is my hobby only, I am a beginner in sqlite and php.
Thanks,
13 replies
KPCKevin Powell - Community
•Created by lanszelot on 6/23/2024 in #front-end
JS why everythingis changing in the array?
Hello,
When I add (Hozzáadás button) object to my array with push,
and after I add another object,
why everythingis changing in the array?
How should I have to add correctly?
https://codepen.io/lanszelot/pen/eYarmbN?editors=1011
Please fill all 3 because I deleted "empty check" for shortening the code. Easier to read.
4 replies
KPCKevin Powell - Community
•Created by lanszelot on 6/9/2024 in #back-end
pass PHP to JS - string
Hello,
How can I pass string from PHP to JavaScrtipt?
string like this :
"1 - one
2 - two
3 - three"
4 - éáúő
5 - $%*&"
Simple string, with line breaks.
in sql database I have descriptions
this descriptions I need to use in JS
97 replies
KPCKevin Powell - Community
•Created by lanszelot on 5/31/2024 in #back-end
PHP info not loading
Hello,
In the php info :
"Configuration File (php.ini) Path no value
Loaded Configuration File (none)"
Windows 10 pc with apache and php
C:\php
in Windows PATH added C:\php
php.ini is in the C:\php (not php.ini_dev)
PHP Version 8.2.2
apache server restarted, pc restarted
Why not loading the php.ini ?
158 replies
KPCKevin Powell - Community
•Created by lanszelot on 1/14/2024 in #front-end
Why moon-icon not in the right place?
17 replies
KPCKevin Powell - Community
•Created by lanszelot on 12/31/2023 in #front-end
CSS: option did not get style on PC, why?
Hello,
Why option did get only the font styles, and nothing else?
https://codepen.io/lanszelot/pen/BaboBxB
On tablet and phone get all the styles, only PC did not.
I do not understand why.
46 replies
KPCKevin Powell - Community
•Created by lanszelot on 11/19/2022 in #front-end
compare arrays
Hello,
How to : compare arrays how many same values in it?
here is an example, but not working: https://codepen.io/lanszelot/pen/PoaEorm
the arrays value could be -red red red red- , or -blue red yellow blue- or any variation.
if one array have more same value /like red red red/ and the other one have only one red it have to count once only.
arrays lenght is same. only the values could be different or equal.
27 replies
KPCKevin Powell - Community
•Created by lanszelot on 11/1/2022 in #front-end
CSS stay and fit into the grid
Hello, How can I do that to every item stay in ther grid place and fit in it. Menu in menu,Image in img, Buttons in buttons. On mobile, tablet, 4k screen, so it have to be responsive. All centered. Here is the example https://codepen.io/lanszelot/pen/ZERQrqR
19 replies