Skip to content

Commit 8eff9a7

Browse files
committed
Move scripts
- Changed script source paths in alhambra.html to point to the new './js/' directory for triangle.js and grid.js. - Added new JavaScript files for grid and triangle patterns, implementing their respective drawing functionalities for enhanced visual patterns.
1 parent 3e5757d commit 8eff9a7

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

alhambra.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ <h1 class="header">
7878

7979
// Load triangle pattern
8080
const triangleScript = document.createElement('script');
81-
triangleScript.src = './tiles/js/triangle.js';
81+
triangleScript.src = './js/triangle.js';
8282

8383
// Load grid pattern
8484
const gridScript = document.createElement('script');
85-
gridScript.src = './tiles/js/grid.js';
85+
gridScript.src = './js/grid.js';
8686

8787
document.body.appendChild(triangleScript);
8888
document.body.appendChild(gridScript);
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)