From 0d9efefa76fda4008b1a0f41acd74976c37b6a0c Mon Sep 17 00:00:00 2001 From: Antoine BERNIER Date: Mon, 26 Aug 2024 19:04:00 +0200 Subject: [PATCH] docs: tip syntax for exercises --- docs/getting-started/your-first-scene.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/getting-started/your-first-scene.mdx b/docs/getting-started/your-first-scene.mdx index 564690bff0..6ea70af276 100644 --- a/docs/getting-started/your-first-scene.mdx +++ b/docs/getting-started/your-first-scene.mdx @@ -172,9 +172,9 @@ export default function App() { }} /> -## Exercise - -- try different materials, like [`MeshNormalMaterial`](https://threejs.org/docs/#api/en/materials/MeshNormalMaterial) or [`MeshBasicMaterial`](https://threejs.org/docs/#api/en/materials/MeshBasicMaterial), give them a color -- try different geometries, like [`SphereGeometry`](https://threejs.org/docs/#api/en/geometries/SphereGeometry) or [`OctahedronGeometry`](https://threejs.org/docs/#api/en/geometries/OctahedronGeometry) -- try changing the `position` on our `mesh` component, by setting the prop with the same name -- try extracting our mesh to a new component +> [!TIP] +> You can live-edit the code above: +> - try different materials, like [`MeshNormalMaterial`](https://threejs.org/docs/#api/en/materials/MeshNormalMaterial) or [`MeshBasicMaterial`](https://threejs.org/docs/#api/en/materials/MeshBasicMaterial), give them a color +> - try different geometries, like [`SphereGeometry`](https://threejs.org/docs/#api/en/geometries/SphereGeometry) or [`OctahedronGeometry`](https://threejs.org/docs/#api/en/geometries/OctahedronGeometry) +> - try changing the `position` on our `mesh` component, by setting the prop with the same name +> - try extracting our mesh to a new component