Skip to content

Commit 177a1b0

Browse files
committed
fix: html conflict and end tag
1 parent 088d40f commit 177a1b0

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

src/index.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
</div>
103103

104104
<nav>
105-
<button type="submit" class="next">Next >></a>
105+
<button type="submit" class="next">Next </button>
106106
</nav>
107107

108108
</form>
@@ -130,8 +130,8 @@
130130
</div>
131131

132132
<nav>
133-
<button type="reset" class="previous"><< Previous</button>
134-
<button type="submit" class="next">Next >></button>
133+
<button type="reset" class="previous"> Previous</button>
134+
<button type="submit" class="next">Next </button>
135135
</nav>
136136

137137
</form>
@@ -161,9 +161,9 @@
161161
</div>
162162

163163
<nav>
164-
<button type="reset" class="previous"><< Previous</button>
164+
<button type="reset" class="previous"> Previous</button>
165165
<button type="submit" class="finish">Finish</button>
166-
<button type="submit" class="next">Next >></button>
166+
<button type="submit" class="next">Next </button>
167167
</nav>
168168

169169
</form>
@@ -191,9 +191,9 @@
191191
</div>
192192

193193
<nav>
194-
<button type="reset" class="previous"><< Previous</button>
194+
<button type="reset" class="previous"> Previous</button>
195195
<button type="submit" class="finish">Finish</button>
196-
<button type="submit" class="next">Next >></button>
196+
<button type="submit" class="next">Next </button>
197197
</nav>
198198

199199
</form>
@@ -245,8 +245,8 @@
245245
</div>
246246

247247
<nav>
248-
<button type="reset" class="previous"><< Previous</button>
249-
<button type="submit" class="next">Next >></button>
248+
<button type="reset" class="previous"> Previous</button>
249+
<button type="submit" class="next">Next </button>
250250
</nav>
251251

252252
</form>
@@ -274,8 +274,8 @@
274274
</div>
275275

276276
<nav>
277-
<button type="reset" class="previous"><< Previous</button>
278-
<button type="submit" class="next">Next >></button>
277+
<button type="reset" class="previous"> Previous</button>
278+
<button type="submit" class="next">Next </button>
279279
</nav>
280280

281281
</form>
@@ -295,10 +295,10 @@
295295
<div>
296296

297297
<label for="header">
298-
<output type="text" name="header" id="header">
298+
<output type="text" name="header" id="header"></output>
299299
</label>
300300
<label for="description">
301-
<output name="description" id="description">
301+
<output name="description" id="description"></output>
302302
</label>
303303
<fieldset>
304304
<legend>Or</legend>
@@ -312,7 +312,7 @@
312312
</div>
313313

314314
<nav>
315-
<button type="reset" class="previous"><< Previous</button>
315+
<button type="reset" class="previous"> Previous</button>
316316
<button type="submit" class="new">NEW</button>
317317
</nav>
318318

src/scripts/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ var body = document.querySelector('body > main > section#body');
55
var footer = document.querySelector('body > main > section#footer');
66
var significantChange = document.querySelector('body > main > section#significantChange');
77
var result = document.querySelector('body > main > section#result');
8-
let sections = Array.from(document.querySelectorAll('main > section'));
8+
var sections = Array.from(document.querySelectorAll('main > section'));
99

1010

1111
document.querySelector('footer > header > a > img').onerror = e => {
1212

1313
e.target.parentNode.remove();
1414

15-
}
15+
};
1616

1717

1818
function scrollIntoView(section) {
@@ -50,7 +50,7 @@ function scrollIntoView(section) {
5050

5151
}
5252

53-
})
53+
});
5454

5555
}
5656

@@ -199,7 +199,7 @@ summary.querySelector('form').summary.oninput = function() {
199199

200200
summary.querySelector('form > div > label > small').innerHTML = this.value.length +' / '+ this.maxLength + '<sub>50 - '+ (50 - this.maxLength) +'</sub>';
201201

202-
}
202+
};
203203
summary.querySelector('form').onsubmit = function(e) { e.preventDefault();
204204

205205
if (e.submitter.classList.contains('finish')) {
@@ -298,7 +298,7 @@ significantChange.querySelector('form').onsubmit = function(e) { e.preventDefaul
298298
footerContent.push(`Refs: ${footer.querySelector('form').refs.value.split(',').map(e => e.trim()).filter(e => e).join(', ')}`);
299299

300300
if (footer.querySelector('form').coAuthoredBy.value.trim())
301-
footer.querySelector('form').coAuthoredBy.value.split(',').map(e => e.trim()).filter(e => e).forEach(e => footerContent.push('Co-authored-by: '+ e))
301+
footer.querySelector('form').coAuthoredBy.value.split(',').map(e => e.trim()).filter(e => e).forEach(e => footerContent.push('Co-authored-by: '+ e));
302302

303303
if (footer.querySelector('form').onBehalfOf.value.trim())
304304
footerContent.push('on-behalf-of: '+ footer.querySelector('form').onBehalfOf.value.trim());

src/sw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const CACHE_NAME = 'v1.1.3';
1+
const CACHE_NAME = 'v1.1.4';
22

33
const FILES_TO_CACHE = [
44
'./images/apple-touch-icon-192x192.webp',

0 commit comments

Comments
 (0)