Local Weather App - Toggle Button

Local Weather App - Toggle Button
0.0 0

#1

Why is it that I’m getting the following error messages on line 53:

SyntaxError: missing ) after argument list

Any help appreciated. Thanks.


#2
function(apiData){
    wd = apiData;
    render(apiData, farenheit);
} // here ! should be }) (unless your next line should be IN the function?

$('#toggle').click(function(){

#3

Yep, you’re right. Thanks!


#4

this:

});```  doesn't do anything (the function is empty), why? 

Also if it should be IN the function then:

``` function(apiData){				
   wd = apiData;
   render(apiData, farenheit);
   $('#toggle').click(function(){
   // not doing anything?	
   		})	
   		});```

#5

So close! Back ticks shouldn’t be on the same line as your code.


#6

raaaaahhh… :persevere: