This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Drop by and say hi! (Recycle Bin)
Post Reply
Return to board index
Post by
baradiel
can anyone else upload a new profile picture?
Post by
Pwntiff
Haven't tried. It's probably related to the server resync. Like every other problem people have been encountering all day.
I almost wish they did a global announcement or sticky about it...
I think Adams is seeing the light of the grey morality "debate."
Post by
MyTie
Java and javascript are
two different animals,
unfortunately.
That's very helpful. Thank you!
Post by
Monday
Miyari's text is pink again. WTF.
Post by
baradiel
Miyari's text is pink again. WTF.
Shes VIP.
Post by
Interest
Miyari's text is pink again. WTF.
Not for me.
Post by
baradiel
And anyways... Its yellowish for me.
Post by
Monday
Still pink for yours truly.
Post by
baradiel
Still pink for yours truly.
No its not pink for me..
Post by
Pwntiff
Still pink for yours truly.
No its not pink for me..
"Yours truly" is an English idiom for "me". That said, Miyari's text is pink for me too.
Miyari's text is pink again. WTF.
Shes VIP.
VIP gets gold. Miyari got pink while she was on staff.
Post by
Squishalot
Still pink for me. I don't recall seeing what happened when she left staff - don't think I checked.
Post by
Pwntiff
I'm pretty sure it went gold...
Post by
baradiel
I'm pretty sure it went gold...
its gold for me..
Post by
Adamsm
It did.
Post by
Monday
It went gold, but it's pink again.
Post by
MyTie
Ok, Interest. Another one. Im trying to get it to count from 1 to 20, and say Fizz on everything divisible by 3, and Buzz on everything divisible by 5, unless the number is divisible by both, and then I want it to say FizzBuzz. This time it just gives me an error:
var i;
for (i=1; i<=20; i++) {
if ( i % 3 === 0; i % 5 === 0) { \\The problem is on this line. I'm not sure how to format it.
console.log("FizzBuzz")
}
else{
if ( i % 3 === 0 ) {
console.log("Fizz")
}
else{
if ( i % 5 === 0 ) {
console.log("Buzz")
}
else {
console.log(i)
}
}
}
}
Post by
baradiel
It went gold, but it's pink again.
ur confusing me lol...
Post by
909566
This post was from a user who has deleted their account.
Post by
MyTie
Ok, Interest. Another one. Im trying to get it to count from 1 to 20, and say Fizz on everything divisible by 3, and Buzz on everything divisible by 5, unless the number is divisible by both, and then I want it to say FizzBuzz. This time it just gives me an error:
var i;
for (i=1; i<=20; i++) {
if ( i % 3 === 0; i % 5 === 0) { \\The problem is on this line. I'm not sure how to format it.
console.log("FizzBuzz")
}
else{
if ( i % 3 === 0 ) {
console.log("Fizz")
}
else{
if ( i % 5 === 0 ) {
console.log("Buzz")
}
else {
console.log(i)
}
}
}
}
Ok, I figured it out. This may have been an issue with my math skills, and not my programming skills. I was trying to do two qualifiers for my if, which was, divisible by 3, and divisible by 5. Instead, I just said divisible by 15. That worked, but I would still like to know how to do two qualifiers, if I should need to in the future.
Post by
MyTie
WEHRE ARE MY MYSTICAL PONIES?
WOWHEAD GOES OFFLINE FOR 42 HOURS AND THERE ARE NO IMPROVEMENTS?
WTF IS THAT *!@#
You can't question wowhead because it has to do with blizzard which has to do with worldofwarcraft. If you have a problem with anything that has to do with worldofwarcraft, then you should either keep it to yourself, or leave.
/sarcasm off
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.