insert text using 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();