# Lesson 9: Project: weather widget We look at project: weather widget the way working developers use it, with examples you can change and run right away. Full lesson: [https://glibcode.net/courses/javascript-web/lessons/9](https://glibcode.net/courses/javascript-web/lessons/9) ## Files - `weather.js`: the course project: a weather widget for any city > **Tip:** Use `===` unless you have a reason not to. > **Tip:** Optional chaining saves a lot of `if`s: `user?.address?.city`. ## Run it ```sh npx serve . # then open http://localhost:3000 and the browser console ``` ## Exercises See [exercises.md](exercises.md). Ask in the forum once you've tried.