File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .DS_Store
2+
13# Logs
24logs
35* .log
Original file line number Diff line number Diff line change 1+ console . log ( "This will be executed by node" ) ;
2+ console . log ( 4 + 5 * 20 ) ;
3+ console . error ( 'Just want to see what will happen.' ) ;
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 " />
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
6+ < title > My Page</ title >
7+ < script src ="script.js "> </ script >
8+ </ head >
9+ < body >
10+ < h1 > KG Coding test project</ h1 >
11+ < p id ="first "> This is the best use of my time to learn JS quickly.</ p >
12+ < button id ="my_button " onclick ="myFunction() "> Click Me</ button >
13+ </ body >
14+ </ html >
Original file line number Diff line number Diff line change 1+ // This is my first function
2+ function myFunction ( ) {
3+ /*
4+ ! asdf
5+ a asdf
6+ */
7+ document . getElementById ( 'first' ) . innerHTML = 'Text changed.' ;
8+ }
You can’t perform that action at this time.
0 commit comments