first commit
This commit is contained in:
commit
6c637e42c8
7 changed files with 165 additions and 0 deletions
38
index.html
Normal file
38
index.html
Normal file
|
@ -0,0 +1,38 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>A thing made by CLP</title>
|
||||
<script type="module" src="script.js"></script>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>A thing made by CLP</h1>
|
||||
</header>
|
||||
<main>
|
||||
<h2>Elm</h2>
|
||||
<code-editor language="elm">
|
||||
module Poo
|
||||
|
||||
type alias Poo
|
||||
= Arg Int
|
||||
| Poo Float
|
||||
|
||||
a : Poo -> Poo
|
||||
a plop = case plop of
|
||||
Arg i -> Poo (toFloat i)
|
||||
Poo f -> Arg (floor f)
|
||||
|
||||
</code-editor>
|
||||
<h2>JavaScript</h2>
|
||||
<code-editor language="javascript">
|
||||
const x = 1;
|
||||
function a() {
|
||||
return x%2;
|
||||
}
|
||||
</code-editor>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue