Hello everyone, please take a look at my calculator and give me a hint what is wrong in css with "Digital-7" font.
I've uploaded files on the github and put a link of the .ttf - file in CSS code as below - but It's not working
@font-face {
font-family: 'digital-7';
src: url("https://github.com/Y-Taras/FreeCodeCamp/raw/master/Calculator/fonts/digital-7%20(italic).ttf") format("truetype");
}
// Example
function ourTrueOrFalse(isItTrue) {
if (isItTrue) {
return "Yes, it's true";
}
return "No, it's false";
}
// Setup
function trueOrFalse(wasThatTrue) {
// Only change code below this line.
if (isItTrue) {
return "Yes, that was true";
}
return "No, that was false";
// Only change code above this line.
}
// Change this value to test
trueOrFalse(True);
// Example
function ourTrueOrFalse(isItTrue) {
if (isItTrue) {
return "Yes, it's true";
}
return "No, it's false";
}
// Setup
function trueOrFalse(wasThatTrue) {
// Only change code below this line.
if (wasthatTrue) {
return "Yes, that was true";
}
return "No, that was false";
// Only change code above this line.
}
// Change this value to test
trueOrFalse(wasthatTrue);
(wasthatTrue)
if (false) {
should be what?if the parameter wasThatTrue is true and return "No, that was false" otherwise.