Silvershot
Silvershot
Explore posts from servers
KPCKevin Powell - Community
Created by Sste on 5/29/2024 in #front-end
Data from API is displaying in the console but not in the DOM, why?
also how is it possible to pass mood as a prop and not use useParams? is it a new react feature?
16 replies
KPCKevin Powell - Community
Created by Sste on 5/29/2024 in #front-end
Data from API is displaying in the console but not in the DOM, why?
below movies/:mood
16 replies
KPCKevin Powell - Community
Created by Sste on 5/29/2024 in #front-end
Data from API is displaying in the console but not in the DOM, why?
try moving your "/" route to the very end of the Routes list
16 replies
KPCKevin Powell - Community
Created by Sste on 5/29/2024 in #front-end
Data from API is displaying in the console but not in the DOM, why?
did it work?
16 replies
KPCKevin Powell - Community
Created by Sste on 5/29/2024 in #front-end
Data from API is displaying in the console but not in the DOM, why?
check if the movies array is empty. if it is, dont loop over the movies list. try this. probably not too important, just want to make sure
{movies.length > 0 && movies.map(......)}
{movies.length > 0 && movies.map(......)}
16 replies
KPCKevin Powell - Community
Created by Jonathan on 5/9/2024 in #front-end
Making ul li horizontal and not vertical.
wat doesnt work exactly?
6 replies
KPCKevin Powell - Community
Created by Silvershot on 5/6/2024 in #front-end
Explain Css animation behavior?
ok, so it is pretty much instant. does this apply to every css property?
29 replies
KPCKevin Powell - Community
Created by Silvershot on 5/6/2024 in #front-end
Explain Css animation behavior?
so if the animation has yet to complete its current loop, the property should not be affected
29 replies
KPCKevin Powell - Community
Created by Silvershot on 5/6/2024 in #front-end
Explain Css animation behavior?
well, if what you say is true, then current iteration should complete with the old value 1, but when the text appears again, i press the button and i change the opacity to 0.3, which immediately depicts the update, since the txt does not go to opacity 1.
29 replies
KPCKevin Powell - Community
Created by Silvershot on 11/3/2023 in #front-end
CSS variable scoping when using animation
ok
7 replies