Verify Prepared Assets
Verify Prepared Assets
Task
Confirm that the design assets are already connected and that the course will not require CSS construction.
Open
Open index.html and find the Font Awesome stylesheet link. Open style.css and find .weather-bg, .rain-layer, .snow-layer, .stars, and the theme-* rules.
Quick explanation: assets, classes, and the CDN
An asset is a file or external resource used by the application, such as an image, icon library, or font. WeatherNow already includes the clear-weather background image and the Font Awesome icon library.
The Font Awesome stylesheet is loaded from a CDN (Content Delivery Network). A CDN hosts commonly used files so a website can load them from an external server instead of storing the library inside this project.
CSS classes are reusable names that control styling. For example, a rule such as .rain-layer defines the appearance of the rain effect. The JavaScript lessons will later add theme classes such as theme-rain to the page when the weather condition changes.
This is different from an HTML id: an id identifies one specific element, while a class is normally used to apply a style or behavior pattern to one or more elements.
Implementation
The starter separates behavior from presentation. JavaScript will eventually add body classes such as theme-rain; CSS already defines what those classes look like.
That means you do not need to build the rain, snow, stars, gradients, or glass cards in this course. Your job later will be to make JavaScript choose the correct theme based on the weather data.
Test
Confirm the background image appears and at least one Font Awesome icon is visible. Do not modify the styles.
If the page is running locally, open the browser’s developer tools and check the Network or Console area if an icon or background is missing. This helps distinguish a JavaScript problem from an asset-loading problem.
Expected result
The visual foundation is confirmed and ready for JavaScript behavior. You understand that the prepared CSS is waiting for JavaScript to apply the appropriate theme classes.
Checkpoint
Before moving on, confirm the expected result in the running app and make sure the browser console has no blocking errors.