Search
Setup for Free
KP-C
Kevin Powell - Community
•
2y ago
Jolly
Add CSS classes along with js code in className attribute in HTML (React)
I
'm new in writting JS in React so I
'm having problems in adding my css clases
"block
l
g
:hidden
"
. I tried to do it with parenthesis
. The image shows the first line of code
:
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,355
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
JS vs HTML/CSS in VS Code
KP-C
Kevin Powell - Community / os-and-tools
3y ago
list of classes in html / css
KP-C
Kevin Powell - Community / front-end
14mo ago
how to add classes in react
KP-C
Kevin Powell - Community / front-end
17mo ago
Infinite slider with HTML, CSS and JS
KP-C
Kevin Powell - Community / front-end
2y ago