Skip to content

Commit

Permalink
Changes to text on UI
Browse files Browse the repository at this point in the history
Changes to text on UI
  • Loading branch information
[email protected] committed Dec 31, 2015
1 parent 30af8f3 commit f0d232d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<p>dfgh</p>
<h3> Welcome to calculators</h3>
<div id="app">
</div>
<script src="js/compiled/simplecalculator.js" type="text/javascript"></script>
Expand Down
8 changes: 4 additions & 4 deletions src/simplecalculator/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@

(defn home-page []
(let [{:keys [number result operator]} @result-data]
[:div [:h3 "Welcome to calculators"]
[:div
[navigation-view]
[:p]
[:h4 "Maths Calculator"]
[:input {:type "number"
:value number
:on-change (fn [e]
Expand Down Expand Up @@ -197,8 +197,8 @@
(let [{:keys [dob pensiondate age]} @pension-age]
[:div
[navigation-view]
[:div [:h2 "State Pension Age Calculator"]
[:h4 "Enter Date Of Birth"]
[:div [:h4 "State Pension Age Calculator"]
[:p "Enter Date Of Birth"]
[:input {:type "date"
:on-change (fn [e] (swap! pension-age assoc :dob (js/Date. (.-target.value e))))
}]
Expand Down

0 comments on commit f0d232d

Please sign in to comment.