Remove Element by Click

JavaScript Easy 3 views
Back to Questions

Problem Description

You have many elements with class card. When any card is clicked, remove only that card from DOM.

Input Format

No input.

Output Format

No output (DOM change).

Constraints

Assume elements with class card exist.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next