Skip to content

Instantly share code, notes, and snippets.

@StachuDotNet
Created April 11, 2019 01:03
Show Gist options
  • Save StachuDotNet/1f2150349e30f0fadfc77774320d570d to your computer and use it in GitHub Desktop.
Save StachuDotNet/1f2150349e30f0fadfc77774320d570d to your computer and use it in GitHub Desktop.
Created with Fable REPL
html,
body {
font-size: 16px;
}
.main-container {
display: flex;
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
flex-direction: column;
}
.input {
padding: .25rem;
font-size: 16px;
width: 250px;
margin-bottom: 1rem;
}
printfn "Hello, Southern Fried F#!"
printfn "It is %A" System.DateTime.Now
[1..100]
|> Seq.sum
|> printfn "Sum of 1-100: %i"
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
<script src="__HOST__/libs/react.production.min.js"></script>
<script src="__HOST__/libs/react-dom.production.min.js"></script>
</head>
<body class="app-container">
<div id="elmish-app" class="elmish-app"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment