Skip to content

Instantly share code, notes, and snippets.

@malkafly
Created April 30, 2014 22:08
Show Gist options
  • Save malkafly/11439823 to your computer and use it in GitHub Desktop.
Save malkafly/11439823 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
<script src="http://ajax.aspnetcdn.com/ajax/knockout/knockout-3.0.0.js"></script>
<!-- content to be placed inside <body>…</body> -->
<h1>Coworking Pricing calculator</h1>
<fieldset>
<legend>Break Even and Profitable Model</legend>
<input type="text" id="" placeholder="Cost of space">
<input type="text" id="" placeholder="Space in square feet">
<button id="calculate">calculate</button>
<hr>
<h3>Break Even: <span id="value1">$$<span> <small>cost per desk</small></h3>
<h3>Profitable: <span id="value2">$$<span> <small>cost per desk</small></h3>
</fieldset>
// alert('Hello world!');
$('#calculate').click(function(){
alert(' uai' );
});
{"view":"split-vertical","fontsize":"90","seethrough":"","prefixfree":"1","page":"javascript"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment