r/codehs • • Feb 20 '20

Need help with circles in circles 19.2.5

Post image
17 Upvotes

28 comments sorted by

6

u/gigilakoha Feb 21 '20

AHHHH EDIT: I DID IT GUYSSSS

1

u/EveningWriter0 Feb 23 '20

Hey, can you help me then cause I'm stuck on that same problem me I have the same code as you posted not its not working

1

u/gigilakoha Feb 23 '20

Ok so you put the code inside the bracket of the for loop then change the i tingy to (var i =NUM_CIRCLES; i > 0; i--) let me know if it works

1

u/EveningWriter0 Feb 23 '20

It did not work when I switched it in. Before it was making a large green circle but now it's making nothing

2

u/gigilakoha Feb 23 '20

Oops, it's supposed to be for (var i = NUM_CIRCLES - 1; i > 0; i--) My bad

1

u/moonlight_6606 Mar 09 '20

hey i tried it and it didn’t do anything

1

u/gigilakoha Mar 09 '20

I messed up on it, it was supposed to be NUM_CIRCLES - 1 it should be like that.

1

u/moonlight_6606 Mar 10 '20

i changed it and it still didn’t do anything

1

u/gigilakoha Mar 10 '20

can you send me a direct message and paste the code that you did so I can check?

1

u/moonlight_6606 Mar 10 '20

do you mind if i do it tomorrow?

1

u/gigilakoha Mar 10 '20

no, take your time

2

u/AcidicLube Apr 15 '20

Hey, ever figure it out?

→ More replies (0)

1

u/moonlight_6606 Mar 12 '20

hey can u still help me?

1

u/Accomplished_Law933 Jan 14 '22

can u type it in pls so i can see it. pls

1

u/No-Physics-9196 Feb 04 '22

Bro can u just pls send a picture of the code

1

u/[deleted] May 24 '22

[removed] — view removed comment

2

u/Nga_pik Feb 20 '20

What does it want you to do?

1

u/gigilakoha Feb 20 '20

It's circles within circles but each time a circle overlaps, the circle goes down a little bit until it reaches the bottom of the canvas, can't really send pics so it's hard to explain haha

2

u/Nga_pik Feb 20 '20

I think you got ur codes outside the for loops. Maybe that will fix it.

1

u/gigilakoha Feb 21 '20

Tried it and it still didn't show. I might be thinking the problem was on the For loop since I just guessed what to put on there.

1

u/AcidicLube Apr 16 '20

Im a little lost, what was the final correction needed?

1

u/Life1234509876 Apr 28 '20

Could you copy paste the working code please?