File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ This is the main HTML page where we want to use the `<template>` tag. Use the `s
35
35
<title >HTML-template</title >
36
36
37
37
<!-- 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 >
39
39
</head >
40
40
<body >
41
41
<template src =" ./template.html" ></template >
@@ -56,11 +56,11 @@ This is the final version of the HTML page after the templates have been replace
56
56
<title >HTML-template</title >
57
57
58
58
<!-- 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 -->
61
61
</head >
62
62
<body >
63
- <p >Hello World!</p >
63
+ <p >Hello World!</p > <!-- < -- These two p tags were added from the template body tag -->
64
64
<p >This is amazing!</p >
65
65
</body >
66
66
</html >
You can’t perform that action at this time.
0 commit comments