diff --git a/MEHIAOUI/index.html b/MEHIAOUI/index.html index 76e27dc119783f47da855d49712c43bab0798e9a..ed6977d2d62c452e5e2aa8d8569fa271f3f532ea 100644 --- a/MEHIAOUI/index.html +++ b/MEHIAOUI/index.html @@ -1 +1,31 @@ -Le travail n'a pas encore commencé!!! \ No newline at end of file +<!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8"> + <title>TP 1</title> + <link rel="icon" type="image/x-icon" href="/images/favicon.ico"> + <style> + body { margin: 0; } + canvas { width: 100%; height: 100% } + .centre{text-align: center;} + </style> + </head> + <body> + <!-- API importe du site de Three.js --> + <script async src="https://unpkg.com/es-module-shims@1.3.6/dist/es-module-shims.js"></script> + <script type="importmap"> + { + "imports": { + "three": "https://threejs.org/build/three.module.js", + "three/addons/": "https://threejs.org/examples/jsm/" + } + } + </script> + <!-- JQuery pour afficher les erreurs --> + <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script> + <!-- Un titre centre --> + <div id="webGL" class="centre"></div> + <!-- Mon script avec un chemin relatif --> + <script type="module" src="projet.js"></script> + </body> +</html> \ No newline at end of file