Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
<div> cannot appear as a descendant of <p>. at div - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
3y ago
•
14 replies
mdrizwan0712
<div> cannot appear as a descendant of <p>. at div
Guys help me I am a beginner in JS Some one help me how to solve this error plz
Warning
: validateDOMNesting
(
.
.
.
)
:
<div
> cannot appear as a descendant of
<p
>
.
Image
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Flexbox Div inside a container div
KP-C
Kevin Powell - Community / front-end
3y ago
How to update height of a div to match another div?
KP-C
Kevin Powell - Community / front-end
4y ago
Center a div
KP-C
Kevin Powell - Community / front-end
14mo ago
Centering a div
KP-C
Kevin Powell - Community / front-end
2y ago