File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 17
17
18
18
# map {
19
19
width : 100% ;
20
- height : 500 px ;
20
+ height : 600 px ;
21
21
border : 2px solid white;
22
22
border-radius : 10px ;
23
23
}
29
29
</ style >
30
30
31
31
< div class ="container ">
32
- < h1 style ="text-align: center; "> Find Your Current Location </ h1 >
32
+ < h1 style ="text-align: center; "> Check where you are!! </ h1 >
33
33
34
34
<!-- Map Section -->
35
35
< div class ="map-container ">
@@ -66,14 +66,14 @@ <h1 style="text-align: center;">Find Your Current Location</h1>
66
66
// Display error message if geolocation fails
67
67
const errorDiv = document . getElementById ( "error" ) ;
68
68
errorDiv . style . display = "block" ;
69
- errorDiv . innerText = "Unable to fetch your location. Please allow location access in your browser." ;
69
+ errorDiv . innerText = "Unable to fetch your location. Please allow location access to us in your browser." ;
70
70
}
71
71
) ;
72
72
} else {
73
73
// If geolocation is not supported
74
74
const errorDiv = document . getElementById ( "error" ) ;
75
75
errorDiv . style . display = "block" ;
76
- errorDiv . innerText = "Geolocation is not supported by your browser." ;
76
+ errorDiv . innerText = "Sorry! Geolocation is not supported by your browser." ;
77
77
}
78
78
}
79
79
You can’t perform that action at this time.
0 commit comments