Question
How would I increase my font size and style without using the HTML font? My teacher wants me to use the CSS class instead. Also
How would I increase my font size and style without using the HTML font? My teacher wants me to use the CSS class instead.
Also is there anyway to get rid of the white space in between the colors seaGreen and sandyBrown?
#container{
height: 600px;
position: relative;
background: seagreen;
}
h2{
height: 120px;
background: sandybrown;
}
Temperature Converter
Celcius to Fahrenheit:
Fahrenheit to Celcius :
function cToF()
{
var celsius=document.getElementById("cel").value;
var cTemp = celsius;
var cToFahr = cTemp * 9 / 5 + 32;
var message = cTemp+'\xB0C is ' + cToFahr + ' \xB0F.';
document.getElementById("res").innerHTML = message;
}
function fToC()
{
var fahrenheit=document.getElementById("far").value;
var fTemp = fahrenheit;
var fToCel = (fTemp - 32) * 5 / 9;
var message = fTemp+'\xB0F is ' + fToCel + '\xB0C.';
document.getElementById("res").innerHTML = message;
}
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started