Skip to content

Commit

Permalink
pull master and commit again
Browse files Browse the repository at this point in the history
  • Loading branch information
tspeed90 committed May 11, 2018
1 parent 39418a3 commit 27da7b6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion public/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ scales.forEach((scale) => {
var scaleNumber = document.querySelector(`#${scaleNumberId}`);
var commentBox = document.querySelector(`#${commentBoxId}`);


scaleNumber.textContent = `${this.value}`;
commentBox.textContent = test[this.value] === '' ? "Any comments you've saved will appear here as you move the scale" : `Hint: ${test[this.value]}`
})
})
})


2 changes: 1 addition & 1 deletion src/controllers/addData.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const symptomsList = [{ symptom: 'fatigue' }, { symptom: 'dandruff' }];
const symptomsList = [{ symptom: 'fatigue' }, { symptom: 'headache' }];
const factorsList = [{ factor: 'water' }, { factor: 'sleep' }];


Expand Down
1 change: 1 addition & 0 deletions src/views/addData.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
{{/each}}
</ul>


<h2>Factors</h2>

<ul>
Expand Down

0 comments on commit 27da7b6

Please sign in to comment.