Design comparison
SolutionDesign
Solution retrospective
Question
- I didn't know how to remove an SVG element inside a P from an element outside the Div
Community feedback
- @Haitam-ElgharrasPosted over 1 year ago
you can use the remove method in jQuery $("#remove-svg").on("click", () => { $("div p svg").remove(); });
0@mak2220Posted over 1 year ago@Haitam-Elgharras
- Hello! Thank you so much for your advice. I'm going to implement it
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord