Skip to content

Askiadaoud/fem-css-foundations

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Masters

Frontend Masters CSS Foundations

Welcome to Frontend Masters CSS Foundations! You can find the course information here.

How To Follow Along

There are seven chapters to this course. You can find the slides for each chapter below.

  1. Introduction
  2. Foundation
  3. Header
  4. Home
  5. Speakers
  6. Responsive Layout
  7. Wrap Up

You can view the design files for our project website here. Figma showing project

To use this repository, complete the following steps:

  1. Fork this repository Create a fork from this repo by clicking the fork button
  2. Be sure your account name is listed, and uncheck the 'Copy the main branch only' checkbox or you won't fork the chapter branches. Then click the Create Fork button. Select your account from the owner dropdown and uncheck the copy main branch only button, then click create fork.
  3. Once the fork is completed you'll see it on your profile. View your fork on your account
  4. Clone your forked repository by clicking the green Code button and copying the HTTPS URL. Clone your forked repository by clicking the green Code button and copying the HTTPS URL.
  5. Open your terminal and navigate to a location of your choice on your personal computer that you want to save this repository. I always select my desktop. Then type git clone followed by the HTTPS URL you just copied.
cd Desktop
git clone [HTTPS url]

Use the terminal to clone the repo

Optionally you can use GitHub Desktop if you prefer a UI to work with Git.
6. Open the cloned repository in your code editor of choice. I use Visual Studio Code.
7. Once you have the GitHub repository forked and cloned, you should start on the main branch. I recommend writing all of your code on the main branch, however if you get stuck or lost, each branch corresponds to the final state after the completed chapter. The branch order is as follows:

main
 |_ foundation
    |_header
	|_ home
	  |_ speakers
            |_ responsive-layout

To check out a new branch run git checkout [branch-name] (i.e. git checkout home)

Editor Settings

Below are the visual settings I use in my code editor.

  • Font: I’m using the font Dank Mono with font ligatures. It’s a paid font for 24 GBP. I also recommend Fira Code which is free. Dank Mono Fira Code
  • Theme: I’m using the Material - Operator Mono/Italic theme. Theme
  • Plugins: There are some plugins I recommend installing with VSCode. You can add plugins from the Extensions Marketplace tab in the left navigation. Use the extensions marketplace to add two plugins
  • Live Server: Hot reloads HTML pages when we save files. Live Server
  • Prettier:Formats our code when we save our files. Prettier
  • Color Highlight: Styles CSS colors. Color Highlight

To get Prettier to work properly I had to add a few configurations in my settings.json file. To open this file press command + p on Mac, and enter Preferences: Open Workplace Settings (JSON). Enter the following in the settings.json file and save.

{
    "editor.formatOnSave": true,
    "editor.formatOnPaste": true,
    "editor.formatOnType": true,
    "editor.defaultFormatter": "esbenp.prettier-vscode",
    "[html]": {
        "editor.defaultFormatter": "vscode.html-language-features"
    }
}

Sources

  • Flat Icon

Photos

About

Front-end Masters CSS foundations course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%