Local Weather App Review

Managed to finish this in two days after my second try at it :smiley: … Have a look.As time goes by I will improve on it. Let me know if you find any bugs. Thanks. Local Weather App

On my local server it works fine,I don’t have any problems with it but on codepen I get this error sometimes when I refresh the browser.Any ideas why? I’m not really show what it means

jquery.min.js:2 Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "https://codepen.io" from accessing a frame with origin "https://s.codepen.io". Protocols, domains, and ports must match.

1 Like

Hey, Azdrian!

I like the style of your project! Clean and beautiful.

I think there’s a little problem on temperature conversion. In my city, the temperature is 15.8ºC and when I change to F the system shows 28.4ºF (the right is ~60ºF). I think you forgot the +32 in the final of the formula :slight_smile:

F = C * 9 / 5 + 32

Congrats again!

1 Like

@airtonbjunior :sweat_smile: Thanks alot for the review and for catching that lol… changed!

It doesn’t work here :frowning:

hmm what error are you getting ?

I got this on editor view:

An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can remove its sandboxing.

There doesn’t seem to be any error message on full view.

i really don’t understand what that means