New course! Every coder should learn Generative AI!
Try a free lesson+ 8
What is the result of the following code if the HTML contains <p>1</p>?
$("p").append ("2"); $("p").prepend ("1");
2 Answers
+ 4
Thanks most
+ 1
112.
1(prepended) 1 2(appended)