# 程式碼 ###### tags: `隨堂作業` ``` java=01 function getBaseLog(x, y) { return Math.log(y) / Math.log(x); } ``` ``` java=01 var s = "JavaScript syntax highlighting"; alert(s); function $initHighlight(block, cls) { try { if (cls.search(/\bno\-highlight\b/) != -1) return process(block, true, 0x0F) + ' class=""'; } catch (e) { /* handle exception */ } } ``` # 程式碼-隨堂作業 ``` javascript=101 <html> <head> <titile>我的第一個網頁</titile> </head> ``` ```javascript=+ <body> <h1>Hello World!</h1> </body> </html> ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up