why do we use dollar signs in JS code example
Example: javascript dollar sign
//without jQuery, $ is just another symbol in JavaScript
//with jQuery, it's how you declare jQuery objects.
$('#selector').text('jQuery rocks!');
//without jQuery, $ is just another symbol in JavaScript
//with jQuery, it's how you declare jQuery objects.
$('#selector').text('jQuery rocks!');