Open helenzhou6 opened 6 years ago
https://github.com/fac-13/HyGiJeJe/blob/c352f0bf133aed7e14cb3ab014700507ef99cfff/dom.js#L36-L46
The DOM.js file was easy to read/understand, nice! Just a minor point - there is some code duplication here, so it could be refactored (where you could write one function and pass in the DOM element and the input data).
paraTitle should be a h tag not p tag
https://github.com/fac-13/HyGiJeJe/blob/c352f0bf133aed7e14cb3ab014700507ef99cfff/dom.js#L36-L46
The DOM.js file was easy to read/understand, nice! Just a minor point - there is some code duplication here, so it could be refactored (where you could write one function and pass in the DOM element and the input data).