Dans le cadre d'un exercice simple en JavaScript, j'utilise la page html cours.html suivante :
Code : Tout sélectionner
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Introduction à JavaScript</title>
</head>
<body>
<script src="../js/cours.js"></script>
</body>
Code : Tout sélectionner
console.log("Bonjour en JavaScript !");
file:///C:/Users/Patrick/Documents/intro-javascript/chapitre_1/js/cours.js
Quelqu'un peut-il m'aider ?
Merci
Patrick Fédida