how to get the inner text in jquery code example
Example 1: jquery set text of h1
$('#id').text("New Text");
Example 2: jquery get element innertext
const copiedText = $('#element').text();
$('#id').text("New Text");
const copiedText = $('#element').text();