You will be updating a website using all your responsive web design and preprocessing skills from the sprint. The theme of 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.
- This project is to be worked on alone but you can google all you want. You may reference any previous code solutions as well as training kit content.
-
Fork the project into your GitHub user account
-
Clone the forked project into a directory on your machine
-
You are now ready to build this project with your preferred IDE
Answer the following questions to the best of your ability. You can exercise your Googling skills and use training kit. Open up the Answers.md file and record your responses there.
-
What is the difference between an adaptive website and a fully responsive website?
-
Describe what it means to be mobile first vs desktop first.
-
What does
font-size: 62.5%
in thehtml
tag do for us when usingrem
units? -
How would you describe preprocessing to someone new to CSS?
-
What is your favorite concept in preprocessing? What is the concept that gives you the most trouble?
-
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 thehtml
selector tored
in yourindex.less
file. -
Once you see the red screen, you can delete that style and you're ready to start on the next task
- 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:
-
variables.less
-
mixins.less
-
reset.less
-
global.less
-
navigation.less
-
footer.less
-
home-page.less
You will know everything is working properly when you see the styles enabled for the provided content.
-
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.
- Create a
@phone
variable that contains amax-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.
Congratulations, you completed the sprint challenge!
Stretch goals are only available if you complete every task listed above. Do not work on them until your pull request is in.
-
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