πŸ“Š JavaScript
Q. Which of the following is the method used to add an element to the desired location?
  • (A) add.element()
  • (B) element.add()
  • (C) element.appendChild()
  • (D) none of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) element.appendChild()

Explanation: The method element.appendChild() is used to add the element to the desired location within the document tree.

Explanation by: Mr. Dubey
The method element.appendChild() is used to add the element to the desired location within the document tree.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
159
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate