Why jquery doesn't work?

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:

$('p').css('color', 'green');
1 Like

finally it works :wink: :smile: thank you very much :blush: