+ 1

How can I do this?

I want the lavender colored box to display the number of messages sent. How can I do this? https://code.sololearn.com/W6FzjdDBufIB/?ref=app

2nd Oct 2017, 11:15 AM
B.D
B.D - avatar
2 Answers
+ 2
Add this... var count = $("#mylist").children().length; $("p>span").text(count); Please note that your web board and info box are placed on wrong place, must be inside body tag.
2nd Oct 2017, 11:36 AM
CalviŐČ
CalviŐČ - avatar
+ 2
Thanks
2nd Nov 2017, 2:46 PM
B.D
B.D - avatar