**Table of Contents**
- [Coursera: HTML, CSS and Javascript for Web Developers](#coursera-html-css-and-javascript-for-web-developers)
- [Example Source Code](#example-source-code)
- [Common Git Commands](#common-git-commands)
- [Github commands:](#github-commands)
- [Git examples:](#git-examples)
- [Command Line Reference](#command-line-reference)
- [Universal Command Reference Link](#universal-command-reference-link)
- [Common Windows Commands](#common-windows-commands)
- [Module 1 Guidelines](#module-1-guidelines)
- [Coming Soon](#coming-soon)
- [Module 2 Guidelines](#module-2-guidelines)
- [Coming Soon](#coming-soon-1)
- [Module 3 Guidelines](#module-3-guidelines)
- [Coming Soon](#coming-soon-2)
- [Module 4 Guidelines](#module-4-guidelines)
- [Coming Soon](#coming-soon-3)
# Coursera: HTML, CSS and Javascript for Web Developers
## Example Source Code
This repository contains all of the example source code used in the Coursera.org course called
[HTML, CSS and Javascript for Web Developers](https://www.coursera.org/learn/html-css-javascript-for-web-developers).
[Enroll now! It's free!](https://www.coursera.org/learn/html-css-javascript-for-web-developers)
## Common Git Commands
### Github commands:
Command | Description
------------ | -------------
git add . |Add all changes to all files at your current working directory location. Must be a git project.
git checkout testing|Switch to testing branch.
git clone Note that a directory is also referred to as a folder. (Note: del alone cannot be used to delete other directories. Use
[Universal Command Line Reference](http://www.ss64.com)
### Common Windows Commands
## Module 1 Guidelines
### Coming Soon
## Module 2 Guidelines
### Coming Soon
## Module 3 Guidelines
### Coming Soon
## Module 4 Guidelines
### Coming Soon
Command and Usage
Examples
attrib
Alter the file attributes. The '+' adds an attribute, and '-' removes it. Attributes are: a=archive; r=read only; s=system; h=hidden. attrib -r -a -s -Hh index.html
All previously mentioned attributes will be cleared from index.html
C:
Shortcut to the C: drive. Can substitue 'C' for other drive letters. C:
cd
Navigate into a directory.Just typing
cd\ by itself goes to the base (root) of the file system and is usually the C: drive.
cd.. navigates up one level. Say you are in the 'foo' directory and want to get out of this directory. This would get out of 'foo'cd <directory name> navigates to that directory. You can provide a path of directories \ e.g.
cd Users\myself\Documents\git\mycode takes you to C:\Users\myself\Documents\git\mycode
cls
Clear (reset) the screen.cls
del
Delete one or more files in the current working directory. Can be used with the '*' and the '?' wildcards.
del *.* will delete every file in the current directory.rd to remove a directory.) del index.html deletes index.html
del *.html will delete all HTML files at your current location.del foo*.* will delete all files beginning with 'foo' that are any type.del foo??.* will delete files that are 5 characters long and begin with 'foo' that are any type.
dir
List (reveal) contents of a directory (folder).
dir *.html displays all HTML files in the current and subdirectories.dir /s lists the contents of all subdirectories.dir /ah displays all hidden files.
help
Displays DOS help info. For info on an individual command simply type help followed by the command.
help md displays information on the cls (make directory) command.
md
Generate (make) directory. Creates a new directory at your current location. May also substitute with mkdir
md boo create 'boo' directory.
rd
Delete a directory. Note that the directory you want to remove not have any files. The command rmdir may be used instead of rd
rd boo deletes the 'boo' directory
renameRenames a file.
rename foo.html zoo.html
type
Pipe (display) the contents of a file to terminal. If the file doesn't contain text (e.g. image) gibberish (binary encodings) will be displayed. If you pipe this command to more with "|more" then the text will be displayed one page at a time.
type site\index.html|more displays index.html one page at a time.