Revanth
KPCKevin Powell - Community
ā¢Created by Revanth on 12/16/2024 in #front-end
CSP
Hey everyone,
I'm currently working on a React app using Vite, and I'm trying to implement a CSP policy with script-src 'strict-dynamic'. I know that to make this work, I need to add a nonce or a hash for the scripts, especially for index.jsx.
Has anyone here successfully implemented this?
Would appreciate any guidance or examples on generating and adding the nonce/hash dynamically to make it CSP-compliant with Vite.
Thanks in advance!
1 replies
KPCKevin Powell - Community
ā¢Created by Revanth on 11/13/2024 in #front-end
Need Help with Christmas Tree Growth Animation in React! š
2 replies
KPCKevin Powell - Community
ā¢Created by Revanth on 9/19/2024 in #front-end
How to Approach Responsive Web Design for Different Breakpoints?
Hey everyone! I have knowledge of CSS up to Flexbox and now I'm looking to dive deeper into responsive web design. When I receive a Figma design, what is the best way to plan and structure the layout for different breakpoints (e.g., mobile, tablet, desktop)?
Also, Iād like to understand which CSS units are ideal for responsiveness, Could you suggest any resources or strategies to help me learn responsive design effectively?
Thanks in advance!
14 replies