Skip to content

Commit

Permalink
chore: update a typo in temperature
Browse files Browse the repository at this point in the history
  • Loading branch information
sebinbenjamin authored Aug 9, 2024
1 parent 73655d9 commit eca86d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const handleClick = () => {
.then((res) => res.json())
.then((data) => {
dispalySection.innerHTML =
` <p>${data.location.name}'s teamperature is ${data.current.temp_c}℃.</p>
` <p>${data.location.name}'s temperature is ${data.current.temp_c}℃.</p>
<p>It's ${data.current.condition.text}.</p>
<img src="${data.current.condition.icon}" alt="icon"/>
`;
Expand Down

0 comments on commit eca86d6

Please # to comment.