I am going through a few jquery courses to improve on my skills and am trying this script
jQuery(document).ready(function($){
//alert($(".hentry").html());
$("p").after("whatever");
$("p").after('<img src="./imgs/blueSideArrow.png">')
});
the whatever works just fine but the image wont show. I also tried to use
<img src="<?php echo get_template_directory_uri(); ?>/imgs/imageEtc...png">
but that got me a 403, forbidden.
Has anyone tried this & how can i make it work. I’ll add that i have tried
/imgs
./img
../imgs
localhost...etc
& the image is there
thank you
D