---
# System prepended metadata

title: 程式碼
tags: [隨堂作業]

---

# 程式碼
###### 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>
```