Whay when I change the number of the blur then I change the number of gray the blur doesn't work and also gor the gray. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Whay when I change the number of the blur then I change the number of gray the blur doesn't work and also gor the gray.

https://code.sololearn.com/WxQ5KCNbOoQ0/?ref=app

3rd Jul 2018, 10:34 AM
Sina
Sina - avatar
13 Answers
+ 4
In line 42, it should be "brightness" not "bright ness". There should be no space between bright and 'ness'.
3rd Jul 2018, 12:26 PM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 3
So here's the problem with your code. What happens is that, you are setting the filter from blur to grayscale and vice versa when you adjust the range. Therefore, you should set both blur and grayscale at the same time when adjusting the range. Here's a working code. I also adjusted the blur step and range https://code.sololearn.com/WrZpD16lzd9u/?ref=app
3rd Jul 2018, 11:16 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 3
You're welcome
3rd Jul 2018, 11:19 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 2
yup
3rd Jul 2018, 11:19 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 1
hey nobody answer?
3rd Jul 2018, 11:07 AM
Sina
Sina - avatar
+ 1
wait Sina I'm editing your code
3rd Jul 2018, 11:11 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 1
Oh thank you
3rd Jul 2018, 11:13 AM
Sina
Sina - avatar
+ 1
So they must be together to work
3rd Jul 2018, 11:18 AM
Sina
Sina - avatar
+ 1
Very thanks
3rd Jul 2018, 11:19 AM
Sina
Sina - avatar
+ 1
https://code.sololearn.com/WxQ5KCNbOoQ0/?ref=app see this again plz my third function doesn't work
3rd Jul 2018, 11:35 AM
Sina
Sina - avatar
+ 1
hey Help me plz
3rd Jul 2018, 12:06 PM
Sina
Sina - avatar
+ 1
I need help
3rd Jul 2018, 12:06 PM
Sina
Sina - avatar
0
Jonathan will you help me again plz??
3rd Jul 2018, 11:35 AM
Sina
Sina - avatar