.appendto help needed

.appendto help needed
0

#1

Hi!
Why doesn’t the below work?:

$("#target2").appendTo(“right-well”);

Thanks!


#2

It depends on the rest of your code. Can you post all of the code and the name of the challenge?


#3

If you are on the challenged named “Use appendTo to Move Elements with jQuery”, then remember that right-well is an id. You need to prefix it with a special symbol.


#4

Thanks Randell! It worked using the special symbol for the ID. And yes, I was at the "Use appendTo to Move Elements with jQuery” challenge.
I wish the program already knew the error that I possibly made and warn me or auto-correct. I wonder if AI does that now.
Thanks again :slight_smile: