Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is 13 commits ahead of LambdaSchool:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Sprint Challenge: Advanced CSS - Space Walkers Web Page

This challenge allows you to practice the concepts and techniques learned over the past week and apply them in a concrete project. This Sprint explored advanced CSS techniques using Responsive Design and Preprocessing. During this Sprint, you studied how to use the viewport meta tag, media queries, setting up a preprocessor, and advanced use of preprocessing techniques. In your challenge this week, you will demonstrate proficiency by updating a website that is missing content as well as adding mobile styling.


Read these instructions carefully. Understand exactly what is expected before starting this Sprint Challenge.

This is an individual assessment. All work must be your own. Your challenge score is a measure of your ability to work independently using the material covered through this sprint. You need to demonstrate proficiency in the concepts and objectives introduced and practiced in preceding days.

You are not allowed to collaborate during the Sprint Challenge. However, you are encouraged to follow the twenty-minute rule and seek support from your PM and Instructor in your cohort help channel on Slack. Your work reflects your proficiency in advanced css and your command of the concepts and techniques in responsive web design and preprocessing.

You have three hours to complete this challenge. Plan your time accordingly.


Commit your code regularly and meaningfully. This helps both you (in case you ever need to return to old code for any number of reasons) and your project manager.


The client for this challenge is Spacewalkers Magazine. Spacewalkers needs your help to build a small proof of concept website for their marketing team. They have provided designs for both desktop and phone views. In addition to designs and content they have most of the home page coded for you. You just need to finish the navigation and header as well as the mobile styles.

In meeting the minimum viable product (MVP) specifications listed below, your web page should look like the solution design files of the desktop and mobile views:

Click here to review the home design

Click here to review the mobile design

Self-Study Questions

Demonstrate your understanding of this week's concepts by answering the following free-form questions.

Edit this document to include your answers after each question. Make sure to leave a blank line above and below your answer so it is clear and easy to read by your project manager

  1. What is the difference between an adaptive website and a fully responsive website?

Responsive websites respond to the size of the browser at any given point. No matter what the browser width may be, the site adjusts its layout in a way that is optimized to the screen. Whereas adaptive websites adapt to the width of the browser at a specific points. In other words, the website is only concerned about the browser being a specific width, at which point it adapts the layout.

  1. Describe what it means to be mobile first vs desktop first.

With mobile-first: the design strategy will take into account the constraints and user browsing behaviour on mobile devices, and the content will be carefully analyzed and structured to categorize it based on importance and ensure that the overall design remains refined. Additional layers of content can then be added for visitors who browse using larger screens. With desktop-first: the design is often based on the assumption that visitors will browse it on a desktop computer. Then, the website is modified to adapt to different devices, including smartphones and tablets.

  1. What does font-size: 62.5% in the html tag do for us when using rem units?

It means that the root font size will increase by 62.5%

  1. How would you describe preprocessing to someone new to CSS?

Pre-processors, with their advanced features, help to achieve writing reusable, maintainable and extensible codes in CSS. By using a pre-processor, you can easily increase your productivity, and decrease the amount of code you are writing in a project.

  1. What is your favorite concept in preprocessing? What is the concept that gives you the most trouble?

My favorite: I love the mixins because they resemble html code. Biggest challenge: variables, though I love the idea that they resemble javascript, I still have to master it.

You are expected to be able to answer all these questions. Your responses contribute to your Sprint Challenge grade. Skipping this section will prevent you from passing this challenge.

Project Set Up

Follow these steps to set up your project:

Git Set up

  • Create a forked copy of this project.
  • Add your project manager as collaborator on Github.
  • Clone your OWN version of the repository (Not Lambda's by mistake!).
  • Create a new branch: git checkout -b <firstName-lastName>.
  • Implement the project on your newly created <firstName-lastName> branch, committing changes regularly.
  • Push commits: git push origin <firstName-lastName>.

Follow these steps for completing your project.

  • Submit a Pull-Request to merge Branch into master (student's Repo). Please don't merge your own pull request
  • Add your project manager as a reviewer on the pull-request
  • Your project manager will count the project as complete by merging the branch back into master.

Preprocessor Set up

  • Verify that you have LESS installed correctly by running lessc -v in your terminal, if you don't get a version message back, reach out to your project manager for help.
  • Open your terminal and navigate to your preprocessing project by using the cd command
  • Once in your project's root folder, run the following command less-watch-compiler less css index.less
  • Verify your compiler is working correctly by changing the background-color on the html selector to red in your index.less file.
  • Once you see the red screen, you can delete that style and you're ready to start on the next task

Minimum Viable Product

Your finished project must include all of the following requirements:

Import LESS Files

  • Navigate to your index.less file. Notice the file is blank. You have been asked to use a certain import order. That order is as follows:

You will know everything is working properly when you see the styles enabled for the provided content.

Home Page - Desktop HTML & LESS

  • Take 10 minutes to review the code that has already been provided for you. Take time to see how the home page was built.

  • Add a viewport meta tag to the head of your index.html page

  • Review the provided home desktop design file. You are to build the missing navigation system and header image. You have been provided all content necessary in the index.html file

  • Navigation Styles: Use the navigation.less file for styling.

  • Main Content Styles: Use the home-page.less file for styling

  • LESS Mixins: Create and use 2 different mixins to aid your styling. Use the mixins.less file for your mixins

  • LESS Parametric Mixin: create a parametric mixin that is used to create the sign up button styles.

  • Use at least 2 parameters to create your button

  • Create a hover state that swaps the background color and font color of the base button styles.

Mobile Design

  • Create a @phone variable that contains a max-width: 500px media query string. Use the @phone variable for all your nested mobile styling.

  • Review the provided home mobile design file. Match your mobile styling the best you can using the design file.

  • Push your changes and create a pull request if you haven't already.

In your solution, it is essential that you follow best practices and produce clean and professional results. Schedule time to review, refine, and assess your work and perform basic professional polishing including spell-checking and grammar-checking on your work. It is better to submit a challenge that meets MVP than one that attempts too much and does not.

Stretch Problems

After finishing your required elements, you can push your work further. These goals may or may not be things you have learned in this module but they build on the material you just studied. Time allowing, stretch your limits and see if you can deliver on the following optional goals:

  • Build a page of your choosing from the navigation items. Come up with content and images that fit the theme.

  • Introduce CSS animations to your site.

  • Create a fixed navigation and add some opacity to the background

  • Create a form that would allow someone to sign up for a Spacewalkers Magazine subscription

You can’t perform that action at this time.