get help in general - we have more specialized help rooms here: https://gitter.im/FreeCodeCamp/home
khaduch sends brownie points to @heroiczero and @manish-giri :sparkles: :thumbsup: :sparkles:
:star2: 1756 | @heroiczero |http://www.freecodecamp.com/heroiczero
:star2: 6560 | @manish-giri |http://www.freecodecamp.com/manish-giri
manish-giri sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 3304 | @khaduch |http://www.freecodecamp.com/khaduch
this.setState({ key: value });
Hi, why won't my images load on my web page? If you replace the path with a URL with a pic it doesn't work either. https://jsfiddle.net/djyp74yw/4/
/* PART1 */
.main-bg {
/* The image used */
background-image: url('../assets/mainbackground.jpg');
/* Full height */
height: 100%;
/* Create the parallax scrolling effect */
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
/* S2 */
.parallax2 {
/* The image used */
background-image: url('../assets/services.jpg');
/* Full height */
height: 100%;
/* Create the parallax scrolling effect */
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
https://imgur.com/a/LQMTN
the html is fine as well I checked it.
{
but only one }
@media (min-width: 992px) and (max-width: 1199px) {
.parallax2 {
height: 65%; }
function factorial(n) {
if(n===1)
return n
else
return n* factorial(n-1)
}
that's one version I have
function factorialize(num) {
var out = [];
if(num===0) {return 1;}
for(var i = 0; i<num; i++){
out.push(i+1);
}
return out.reduce(function(a,b) {
return a*b;
});
}
:cookie: 297 | @fandridis |http://www.freecodecamp.com/fandridis
crystalclea sends brownie points to @fandridis :sparkles: :thumbsup: :sparkles:
yaripl sends brownie points to @janshah :sparkles: :thumbsup: :sparkles:
:cookie: 540 | @janshah |http://www.freecodecamp.com/janshah
koder3 sends brownie points to @johnnybizzel :sparkles: :thumbsup: :sparkles:
:star2: 1760 | @johnnybizzel |http://www.freecodecamp.com/johnnybizzel
programnovice sends brownie points to @ravikishorethella :sparkles: :thumbsup: :sparkles:
:star2: 1028 | @ravikishorethella |http://www.freecodecamp.com/ravikishorethella
hello
rscales02 sends brownie points to @thekholm80 :sparkles: :thumbsup: :sparkles:
:star2: 1479 | @thekholm80 |http://www.freecodecamp.com/thekholm80
darrenfj sends brownie points to @silvanoshei :sparkles: :thumbsup: :sparkles:
darrenfj sends brownie points to @silvanoshei :sparkles: :thumbsup: :sparkles:
thekholm80 sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2041 | @darrenfj |http://www.freecodecamp.com/darrenfj
if(myBoolean){ // do code if the var is True}
else{ //do code if myBoolean is false}
equality = (1 == 2);
so equality is false , because 1 == 2 is false