Merge pull request #56 from Chroxify/weather-fix

Correct html element names
This commit is contained in:
Miguel Ávila 2021-11-29 15:28:36 -06:00 committed by GitHub
commit 9ac3de88bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,12 +2,12 @@
// │││├┤ ├─┤ │ ├─┤├┤ ├┬┘
// └┴┘└─┘┴ ┴ ┴ ┴ ┴└─┘┴└─
const iconElement = document.querySelector('.weather-icon');
const iconElement = document.querySelector('.weatherIcon');
const tempElement = document.querySelector(
'.temperature-value p'
'.weatherValue p'
);
const descElement = document.querySelector(
'.temperature-description p'
'.weatherDescription p'
);
// App data