Skip to main content
Code Review

Return to Question

add description of application
Source Link

I'm trying to makemaking a WeatherApp. It uses the browser's location to get the GPS coordinates, then sends those to an API to get details about the location (e.g. city, country, etc.). The city is then sent to a weather API to get weather information, which is then displayed on the page - see the image below for a sample.

But I thinks there're a lot of ways to make it less clumsy. If you have some advice, you are welcome)

I'm trying to make a WeatherApp. But I thinks there're a lot of ways to make it less clumsy. If you have some advice, you are welcome)

I'm making a WeatherApp. It uses the browser's location to get the GPS coordinates, then sends those to an API to get details about the location (e.g. city, country, etc.). The city is then sent to a weather API to get weather information, which is then displayed on the page - see the image below for a sample.

But I thinks there're a lot of ways to make it less clumsy. If you have some advice, you are welcome)

Post Reopened by Sᴀᴍ Onᴇᴌᴀ , 200_success, Stephen Rauch, Pieter Witvoet, Ludisposed
added 110 characters in body
Source Link
user183098
user183098

While the code functions in the snippet, there is a security restriction. It does, however, work in this codepen. It should output data to widget: Widget on Codepen

While the code functions in the snippet, there is a security restriction. It does however work in this codepen.

While the code functions in the snippet, there is a security restriction. It does, however, work in this codepen. It should output data to widget: Widget on Codepen

add link to codepen
Source Link

While the code functions in the snippet, there is a security restriction. It does however work in this codepen .

While the code functions in the snippet, there is a security restriction. It does however work in this codepen .

Insert code into snippets
Source Link
user183098
user183098
Loading
move css into snippet
Source Link
Loading
added 2939 characters in body
Source Link
user183098
user183098
Loading
put code into runnable snippet
Source Link
Loading
Added tages
Source Link
user183098
user183098
Loading
move question from title into body, add tag
Source Link
Loading
added 472 characters in body
Source Link
user183098
user183098
Loading
I edited title to make it more clear
Source Link
user183098
user183098
Loading
Post Closed as "Not suitable for this site" by Toby Speight, Mast , Sᴀᴍ Onᴇᴌᴀ , Ludisposed, 200_success
Source Link
user183098
user183098
Loading
default

AltStyle によって変換されたページ (->オリジナル) /