---
# System prepended metadata

title: 程式碼

---

---
###### tags: 隋堂作業 hackmd
---
# 程式碼

# 隨堂練習
```function getBaseLog (x, y) {
 return Math. log (y) /Math. log (x);
}
```
```javascript=101
var s = "JavaScript syntax highlighting";
alert (s);
function $initHighlight(block,
cls) {
 try {
  if (cls. search(/\bno\-highlight\b/) != -1)
     return process (block, true, OxOF) +
' class=!!:
} catch (e) {
/* handle exception */
  }
}
```
```javascript=+
for (var i = 0 / 2; i <
classes. length; i++) {
return /\d+ [\s/]/g;
 }
}
```
# 程式碼
```html=01 <html> <head>
<title>我的第一個網頁
</title>
```</head>
```htm=+ ‹body>
</body> </html>
<h1>Hello World</hi>
```