What is wrong in this code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is wrong in this code

<html> <head> <link href="editor_style.css" type="text/css" rel="stylesheet"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $ (document).ready(function() { $(".range").change(add_filter).mousemove(add_filter); }); function add_filter() { var grayscale_val=$("#grayscale").val(); var blur_val=$("#blur").val(); var exposure_val=$("#exposure").val(); var sepia_val=$("#sepia").val(); var opacity_val=$("#opacity").val(); $("#edit_image").css("-webkit-filter","grays

24th Apr 2018, 6:32 AM
Shivendra Singh Chauhan
Shivendra Singh Chauhan - avatar
6 Answers
+ 3
when providing the code use the code editor provided here on SL so that it will be easier for those willing to help you.
24th Apr 2018, 7:37 AM
Awele Omeligwe
Awele Omeligwe - avatar
+ 1
its quite hard to see whats wrong with a code when its not indented,looks rough,and most importantly is not on the playground
24th Apr 2018, 6:33 AM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 1
You should put <script> tags at the end of the body tag.
24th Apr 2018, 6:40 AM
Vladi Petrov
Vladi Petrov - avatar
0
I try this code and the error is $
24th Apr 2018, 6:35 AM
Shivendra Singh Chauhan
Shivendra Singh Chauhan - avatar
0
Shivendra Singh Chauhan What is the rest of the code? You left out a bit if there is a quotation missing at the end plus some closing tags
31st Jul 2018, 1:02 PM
Evan Martine
- 1
The code is not complete... Please provide a complete code 😁
24th Apr 2018, 7:04 AM
jerome