Skip to content

GBouffard/Thermostat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Code Climate

🔆 Thermostat 🔆

This is me re-doing from scratch the Makers Academy Thermostat tutorial to learn about Javascript and JQuery.

  • Thermostat starts at 20 degrees
  • You can increase the temp with the up button
  • You can decrease the temp with the down button
  • The minimum temperature is 10 degrees
  • If power saving mode is on, the maximum temperature is 25 degrees
  • If power saving mode is off, the maximum temperature is 32 degrees
  • Power saving mode is on by default
  • You can reset the temperature to 20 by hitting the reset button
  • The thermostat should colour the display based on energy usage - < 18 is green, < 25 is yellow, otherwise red

Heroku

Guillaume's Thermostat

Objectives of exercise

To learn about Javascript, Jasmine and JQuery.

Technologies used

  • Javascript
  • Jasmine
  • JQuery
  • HTML & CSS
  • External API

How to run it

git clone git@github.com:GBouffard/Thermostat.git
cd Thermostat
npm install
node server.js

By opening your browser on http://localhost:8080/, you can now you can play with the Thermostat.

How to run tests

cd Thermostat
open SpecRunner.html

and this is what you should see:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published