Skip to content

Commit cd3550f

Browse files
committed
Comment on why the hiring comment is in JS added
1 parent a4d67f2 commit cd3550f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ If you’d like to work on this website and other cool projects with hackathons,
1212

1313
console.log(hiringMessage);
1414

15+
//comment generated via javascript instead of in HTML so the hiring message text is only in one place
1516
const comment = document.createComment("\n"+hiringMessage.toString()+"\n");
1617
document.insertBefore(comment, document.firstChild);
1718

0 commit comments

Comments
 (0)