$("#test")represents this html object
$(".active")represents all these html objects
$("#test").text("You put some new text in this element here");
"You put some new text in this element here"inside the element with the id
<div id="test"> </div>
In the html panel
var arr = [1,2,3,4]You can access its first element by
arr, second element with
arr[arr.length-1]for the last element.
var arr = [1,2,3,4]; $("#test").text(arr);
JSON is a text representation of objects Means a special format used to transfer data. It allows to store data in a well readable textformat and even send it through the wire as this.
I know that FreeCodeCamp and its users really often don't properly distinguish that and use the term interchangable which is not appropriate and confuses people.
$(selector)which selects html objects.
:warning: somerandom42 already gave alpox points