Skip to content

Commit

Permalink
#12
Browse files Browse the repository at this point in the history
  • Loading branch information
GauravGupta993 committed Sep 16, 2023
1 parent 94fad39 commit 8460ada
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<div class="container">
<div id="calendar"></div>
</div>
<script src="script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<script src="evo-calendar.min.js"></script>
<script type="module">
Expand Down
9 changes: 9 additions & 0 deletions js/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
let p = fetch("https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/timeline/30.7%2C76.7?unitGroup=metric&key=ENTERYOURAPIKEY&contentType=json")

p.then((response) => {
return response.json()
}).then((value2) => {
let x=value2.days[0].dew
console.log(x)
console.log(value2)
})

0 comments on commit 8460ada

Please sign in to comment.