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+ console . log ( "hello Prame" )
2+ console . log ( "hello Prame" )
3+ console . log ( "hello Prame" )
4+ var age = ( 4 + 2 * 2 / 2 * 2 + 4 + 1 - 5 + 19 ) + 91
5+ var name = "Prame"
6+ var FirstName = "Utcha"
7+ var LastName = "Kruepunsak"
8+ console . log ( age )
9+ console . log ( typeof age )
10+ console . log ( FirstName )
11+ console . log ( LastName )
12+ //alert(FirstName +" "+ LastName)
13+ var x = 20
14+ {
15+ var x = 2
16+ }
17+ let lotto_number = prompt ( "กรอกเลขที่ต้องการซื้อ" )
18+ document . getElementById ( "result" ) . innerHTML = Math . floor ( Math . random ( ) * 100 )
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 http-equiv ="X-UA-Compatible " content ="IE=edge ">
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7+ < title > Document</ title >
8+
9+ </ head >
10+ < body >
11+ < h1 > Hello Prame</ h1 >
12+ < p > เลขที่ถูกรางวัลคือ</ p >
13+ < p id = "result "> </ p >
14+ < script src ="app.js "> </ script >
15+ </ body >
16+ </ html >
You can’t perform that action at this time.
0 commit comments