Skip to content

Commit 480c203

Browse files
authored
Update README.md
1 parent 4d46cf7 commit 480c203

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This is the main HTML page where we want to use the `<template>` tag. Use the `s
3535
<title>HTML-template</title>
3636

3737
<!-- include template.js script -->
38-
<script src="./template.js" type="module" defer></script>
38+
<script src="https://raw.githubusercontent.com/JavaScriptPlayground/html-template-tag/main/template.js" type="module" defer></script>
3939
</head>
4040
<body>
4141
<template src="./template.html"></template>
@@ -56,11 +56,11 @@ This is the final version of the HTML page after the templates have been replace
5656
<title>HTML-template</title>
5757

5858
<!-- include script -->
59-
<script src="./js/template.js" type="module" defer></script>
60-
<link rel="stylesheet" href="style.css">
59+
<script src="https://raw.githubusercontent.com/JavaScriptPlayground/html-template-tag/main/template.js" type="module" defer></script>
60+
<link rel="stylesheet" href="style.css"> <!-- <-- This link tag was added from the template head tag -->
6161
</head>
6262
<body>
63-
<p>Hello World!</p>
63+
<p>Hello World!</p> <!-- <-- These two p tags were added from the template body tag -->
6464
<p>This is amazing!</p>
6565
</body>
6666
</html>

0 commit comments

Comments
 (0)