Correct html element names

This commit is contained in:
Christo Todorov 2021-11-29 22:07:43 +01:00 committed by GitHub
parent c53e757d99
commit cca24658f5
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