hello there! I downloaded the jQuery file and try to make all the P elements green, but it doesn’t work, can you tell me why ? here is my code :
You can’t use one set of script tags for an external and internal script.
you first need to load jquery:
<script src="jquery-3.6.0.min.js"></script>
and then have another set of script tags with your jquery code:
<script>
$('p').css('color', 'green');
</script>
1 Like
finally it works
thank you very much