Skip to content
Snippets Groups Projects
Commit 33965a71 authored by MEHIAOUI Mohamed's avatar MEHIAOUI Mohamed
Browse files

Ecriture index.html

parent 7f3ac3c5
Branches
No related tags found
Loading
Le travail n'a pas encore commencé!!! <!DOCTYPE html>
\ No newline at end of file <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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment