nick / aezer [biffy]
nick / aezer [biffy]
KPCKevin Powell - Community
Created by nick / aezer [biffy] on 8/10/2024 in #front-end
Accessing multiple HTML ID selectors and changing innerHTML of them.
Thank you!!
14 replies
KPCKevin Powell - Community
Created by nick / aezer [biffy] on 8/10/2024 in #front-end
Accessing multiple HTML ID selectors and changing innerHTML of them.
ohh I didn't realize I wasn't iterating through
14 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
I named the divs "child", adjusted the div rules previously to instead be the rules of .child, and wrapped them inside a container and applied the max width of 400 to the container and told it to be flexbox with a wrap, but the body is what is telling it to be centered both vertically and horizontally.
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
And then here:
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
See CSS comments I made
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
ah I see
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
The very first jsfiddle link I sent is how I would do it personally
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
example with how it looks with more divs nested
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
because you declared the rules for the divs to be what they are
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
But try to wrap them in a div with a container class and give them classes that are the same instead. Because if you add any other divs, they all automatically will apply the same exact rules regardless of where they are structurally
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
You can also keep the body declaration to be 400 and have the divs be 50% and it will keep that like before.
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
Yeah.
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
This I have removed the rule for the body to be 400px and instead told the divs to be 50%
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
alternatively, you can give these divs the height of 50%
95 replies
KPCKevin Powell - Community
Created by goatmilk2030 on 1/2/2024 in #front-end
I cannot understand this.. kindly help
So they will have 200px height and the body / container will fill up the space available unless otherwise declared (like telling body to be 400px)
95 replies