From 37957a6fa0a534b51fb0d5a5431153ed4a29fabd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matt=C3=A9o?= <matteo.herry6@etu.univ-lorraine.fr> Date: Tue, 11 Feb 2025 17:05:50 +0100 Subject: [PATCH] test --- HERRY-M--HERRY-E/index.html | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/HERRY-M--HERRY-E/index.html b/HERRY-M--HERRY-E/index.html index fc5f468..d610878 100644 --- a/HERRY-M--HERRY-E/index.html +++ b/HERRY-M--HERRY-E/index.html @@ -1 +1,35 @@ -Le travail a commencé \ No newline at end of file +<!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8"> + <title>TP 1</title> + <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 --> + <h1 class="centre"> HERRY Mattéo - HERRY Elwyn</h1> + <div id="webGL" class="centre"></div> + <!-- Mon script avec un chemin relatif --> + <script type="module" src="exo2.js"></script> + <p class="centre"> Exercice 1 </p> + </body> +</html> \ No newline at end of file -- GitLab