tomorrow i have a technicall interview for a Job has FrontEnd developer
someone could tell me what can i read for be prepared?
or what can i see
Saboor Malik
@MathematicsCoding
@castro2487 are you certified front-end developer?
Roger Castro
@castro2487
almost
Saboor Malik
@MathematicsCoding
I see nice
Roger Castro
@castro2487
i'm at intemediate project
Saboor Malik
@MathematicsCoding
@castro2487 which project are you working on?
Roger Castro
@castro2487
in the first one of intermediate project
Saboor Malik
@MathematicsCoding
Random quote machine?
Roger Castro
@castro2487
yes
Saboor Malik
@MathematicsCoding
Same
_
Roger Castro
@castro2487
it's a little frustrating
Saboor Malik
@MathematicsCoding
Yeah
I have no idea how to repeat different quotes...
Johnny
@jtan3
@MathematicsCoding you could use Math.random(); that you learned before
Saboor Malik
@MathematicsCoding
Where am I supposed to add that?
Johnny
@jtan3
apply it to your quotes
what do you have so far?
Saboor Malik
@MathematicsCoding
Well I had two but only after it works..
Johnny
@jtan3
how are you writing the quotes?
Saboor Malik
@MathematicsCoding
$(document).ready(function(){
$("#getMessage").on("click", function(){
$(".message").html("Mistakes are always forgivable, if one has the courage to admit them. - Bruce Lee" );
});
});
Do you need to see my html code?
Johnny
@jtan3
is that all you have?
Saboor Malik
@MathematicsCoding
I could add more if I know how to repeat different quote..
Johnny
@jtan3
you can put all your quotes in an array and loop through them
Saboor Malik
@MathematicsCoding
Ah
I will try that
So I have to remove that code then?
Just
$(".message").html("Mistakes are always forgivable, if one has the courage to admit them. - Bruce Lee" );
});
Honestly? I dont where to add for loop... Im new to codepen