In this lab, you and I are going to finish the header module by bringing in the media queries, refactoring, and assigning new variables. Why don’t you try to finish this module on your own using the strategies that you learned in Part 2b Navigation Sass Module? Then watch these videos to see how Tonya thinks about refactoring.
Remember, you want to build this module and all of your codebase to fit the way you think, how you work, and your workflow. There are many different ways to solve the same problems, i.e. many different ways to write code. Don’t let anyone tell you “thou shalt write your code like this.” As long as your code is high-quality meaning, it’s very readable (without comments), easy to find stuff (modular), easy to make changes, and easy to maintain, then you are on the right track.
You get WET when you swim. Stay DRY when you code.
Total Lab Runtime: 00:47:58