Skip to content

This repo contains the code challenge for the second day of preprocessing

Notifications You must be signed in to change notification settings

alexcartaz/Preprocessing-II

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preprocessing II: Fun Bus Website

Fun Bus is a travel agency looking for some help on their website. They want a new navigation, new header, and new buttons on the home page. They also want a mobile version of their site styled. Use your preprocessing knowledge to accomplish their tasks.

Task 1: Set Up The Project With Git

  • 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

Task 2: Set up your preprocessor

  • 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

Task 3: Import LESS Files

  • Navigate to your index.less file. Notice the file is blank. In order for you to see the styles for this project you must import them in a certain order. That order is as follows:
  1. variables.less
  2. mixins.less
  3. reset.less
  4. global.less
  5. navigation.less
  6. footer.less
  7. home-page.less

Task 4: Desktop Updates Needed

  • Review the desktop design file. Notice the navigation, header, and buttons at the bottom of the page are missing.
  • Navigation: Use the navigation.less file for all your navigation styling
  • Main Header: Use the home-page.less file for the header styling.
  • Buttons: Create a parametric mixin that can create the missing buttons in the design file. Use the mixins.less file to create your mixin.

Task 5: Mobile Updates Needed

  • Use escaping to create a variable named @mobile that contains this value: (max-width: 500px). Use the variables.less file to house your styling.
  • Review the mobile design file. You will see several design updates that need updating.
  • Match the design file at 500px as well as you can

Stretch Goals:

  • Create an animation mixin using parametric mixins
  • Introduce a form with inputs allowing users to select a vacation package and a submit button at the bottom of the page. Introduce inputs for name, email, phone number, and an area for them to leave special instructions.
  • Style the site to look good at all sizes, not just desktop and phone

About

This repo contains the code challenge for the second day of preprocessing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 70.4%
  • HTML 29.6%