EmileeA / temperature-converter

0 stars 0 forks source link

Setup #1

Open EmileeA opened 5 years ago

EmileeA commented 5 years ago

Story As a developer, you will need to create your index.html (with bootstrap), main.js and main.css files. Ensure they are linked to each other.

AC When the page loads Then the page background should be light blue to test CSS And the console should log "hi from js!" And H1 should say "Temperature Converter"

DN create index.html, main.js, main.css input basic html frame with H1 of "Temperature Converter" link css and js to html link bootstrap to html background-color: #light-blue console-log "hi from js!" use JS boilerplate Zoe gave that is in the comments below

EmileeA commented 5 years ago

Boiler Plate const toCelsius = () => {

}

const toFahrenheit = () => {

}

// Get a reference to the button element in the DOM const button = document.getElementById("converter");

// This function should determine which conversion should // happen based on which radio button is selected. const determineConverter = (e) => { console.log("event", e); }

// Assign a function to be executed when the button is clicked button.addEventListener("click", determineConverter);