Skip to content

final commit#219

Open
Backuphero wants to merge 1 commit intoprojectshft:masterfrom
Backuphero:master
Open

final commit#219
Backuphero wants to merge 1 commit intoprojectshft:masterfrom
Backuphero:master

Conversation

@Backuphero
Copy link

No description provided.

},
(error) => {
console.error(error);
alert('Unable to get location. Please allow location access.');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good start, but a step above is displaying the error:
something like this

<div class="alert alert-danger" role="alert">
  Unable to fetch weather data. Please try again.
</div>

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great input, thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants