Front-end Web Development: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
m (Protected "Front-end Web Development" (‎[edit=autoconfirmed] (expires 17:15, 1 January 2015 (UTC)) ‎[move=autoconfirmed] (expires 17:15, 1 January 2015 (UTC))))
(245 intermediate revisions by 7 users not shown)
Line 3: Line 3:
<div class="hero__hgroup">
<div class="hero__hgroup">
<h1>Front-end Web Development</h1>
<h1>Front-end Web Development</h1>
<h2>A free, weekly class on HTML, CSS, and JavaScript</h2>
<h2>A free, weekly class on HTML, CSS, and JavaScript taught by [http://jeffreyatw.com/ Jeffrey Carl Faden]</h2>
</div>
</div>
<div class="hero__details">
<div class="hero__details">
Line 9: Line 9:
<div class="hero__detail hero__detail--what">
<div class="hero__detail hero__detail--what">
<h2>What</h2>
<h2>What</h2>
Learn HTML, CSS and JavaScript - and put them to good use! This free class, taught by [[User:JeffreyATW|Jeffrey Carl Faden]], is aimed at beginners who are interested in web development, as well as seasoned professionals looking to brush up on the latest and greatest.
Learn HTML, CSS and JavaScript - and put them to good use! This free class is aimed at beginners who are interested in web development, as well as seasoned professionals looking to brush up on the latest and greatest.


Front-end web development is all about making code that runs in the browser (versus code that runs on the server). There isn't a big focus on web design (creating wireframes and mockups), but we do cover best practices for turning these designs into beautiful code.
Front-end web development is all about making code that runs in the browser (versus code that runs on the server). This class focuses on writing interactive web applications, taking designs and turning them into code, and much more.
 
This class can be attended in-person, or it can be viewed online. Videos/material for previous classes can be found on the [[Front-end_Web_Development/Notes|previous classes]] page.
</div>
</div>
<div class="hero__detail hero__detail--who">
<div class="hero__detail hero__detail--who">
<h2>Who</h2>
<h2>Who</h2>
This class is for '''everyone'''! Computer users unacquainted with programming, as well as experienced developers, are welcome at any time. If you're new to the class, consider coming to the [[#Lecture|lecture]] at 7:30 for a recap.
This class is for '''everyone'''! Computer users unacquainted with programming, as well as experienced developers, are welcome at any time. If you're new to the class, consider attending the [[#Lecture|lecture]] at 7:30 for a recap.
This class is entirely '''free''' to attend. You do not have to be a Noisebridge member. If you are coming to Noisebridge to attend the class in-person, state that you're here for the class and you'll be allowed in as a guest.


The space and the class are entirely '''free''' to attend. You do not have to be a Noisebridge member. Upon arriving at Noisebridge, state that you're here for the class and you'll be allowed in as a guest.
If you appreciate this class and the space that enables it to be taught, please consider [[Donate or Pay Dues|donating to Noisebridge]].


Please bring any kind of laptop.
Please bring any kind of laptop.
Line 27: Line 31:
[[#Lecture|Lectures]] start promptly at '''8pm on Mondays''' and go for up to two hours. There is a half-hour recap starting at '''7:30pm'''. Please try to arrive early as physical space is limited.
[[#Lecture|Lectures]] start promptly at '''8pm on Mondays''' and go for up to two hours. There is a half-hour recap starting at '''7:30pm'''. Please try to arrive early as physical space is limited.


[[#Lab|Labs]] start at '''8pm on Thursdays''' and end two hours later.
[[#Lab|Labs]] start at '''7pm on Thursdays''' and end two hours later.


This class runs in a weekly series, and the curriculum takes about 6 months from start to finish. Don't let it discourage you if you're starting from the middle - attend recaps and labs and you should be able to catch up!
This class runs in a weekly series, and the curriculum takes about 6 months from start to finish. Don't let it discourage you if you're starting from the middle - attend recaps and labs and you should be able to catch up!
Line 40: Line 44:


Read up on [[Getting_In|getting in]] to the space. Again, you do not need to be a member!
Read up on [[Getting_In|getting in]] to the space. Again, you do not need to be a member!
If you're attending online, look for the link to watch the latest class in the [[#Lecture]] section.
</div>
</div>
</div>
</div>
</div> <!-- end hero__details -->
</div> <!-- end hero__details -->
</div> <!-- end hero -->
</div> <!-- end hero -->
<div class="section new-series">
<div class="section new-series new-series--new">
<div class="container">
<div class="container">
<h2>New Series</h2>
<h2>New Series</h2>
<div class="new-series__calendar"><span class="new-series__calendar__month">January</span> <span class="new-series__calendar__date">5</span></div>
<div class="new-series__calendar new-series__calendar--no-months"><span class="new-series__calendar__month">July</span> <span class="new-series__calendar__date">11</span></div>
'''[https://www.facebook.com/events/341969149308490 Facebook event]'''


'''[https://plus.google.com/events/cdrjkkp3u8h4a3r1fvvp2nrbb80 Google+ Hangout]'''
Remember that you can start coming to class at any time during the series! You can catch up by watching videos from [[Front-end_Web_Development/Notes|previous classes]], doing [[Front-end_Web_Development/Assignments|assignments]], or attending [[#Lab|lab]].


Remember that you can start coming to class at any time during the series! You can catch up by watching videos from [[Front-end_Web_Development/Notes|previous classes]], doing [[Front-end_Web_Development/Assignments|assignments]], or attending [[#Lab|lab]].
RSVP for the new series on [https://www.facebook.com/events/1737110849904894/ Facebook] or [http://www.meetup.com/noisebridge/events/231976708/ Meetup]!
</div>
</div>
</div>
</div>
Line 59: Line 64:
<h2>Keep Informed</h2>
<h2>Keep Informed</h2>
<ul class="keep-informed__buttons">
<ul class="keep-informed__buttons">
<li>[https://www.noisebridge.net/mailman/listinfo/webdev WebDev]</li>
<li>[https://www.noisebridge.net/mailman/listinfo/webdev WebDev email list]</li>
<li>[https://www.noisebridge.net/mailman/listinfo/noisebridge-announce Noisebridge-announce]</li>
<li>[https://www.facebook.com/groups/noisebridgefwd/ Facebook group]</li>
<li>[https://www.noisebridge.net/mailman/listinfo/noisebridge-announce Noisebridge-announce email list]</li>
<li>[http://www.meetup.com/noisebridge/ Noisebridge on Meetup]</li>
</ul>
</ul>
'''Join one of the above lists to be notified of upcoming classes via email.'''
'''Join one of the above to be notified of upcoming classes.'''


If you can't make it, subscribe to a mailing list to be notified when you can watch a live stream of the lecture! If you missed it, previous lecture streams are available for viewing on the [[Front-end_Web_Development/Notes|Previous Classes]] page!
If you can't make it, subscribe to a mailing list to be notified when you can watch a live stream of the lecture! If you missed it, previous lecture streams are available for viewing on the [[Front-end_Web_Development/Notes|Previous Classes]] page!
</div>
</div>
<div class="section get-set-up" id="setup">
<div class="container">
<h2>Get Set Up</h2>
<ol>
<li>
Get a web browser
<p>
Most web browsers keep themselves up to date. You'll have to take extra steps with the built-in browsers.
</p>
<ul>
<li>
Download [https://chrome.google.com Chrome], [https://www.firefox.com Firefox], or [http://www.opera.com/ Opera]
</li>
<li>
Safari users:
<ul>
<li>
Make sure you are running [http://www.apple.com/osx/ OS X 10.11 El Capitan]
</li>
<li>
Go to the Safari menu > Preferences > Advanced > Show Develop menu in menu bar
</li>
</ul>
</li>
<li>
Internet Explorer users: either [http://www.microsoft.com/en-us/windows/ upgrade to Windows 10] and use [https://www.microsoft.com/en-us/windows/microsoft-edge Microsoft Edge], or upgrade to [http://windows.microsoft.com/en-us/internet-explorer/ Internet Explorer 11]
</li>
</ul>
</li>
<li>
Get a text editor
<p>
There are a number of great free (or free to use) text editors that include helpful features like syntax highlighting and code completion.
</p>
<ul>
<li>[https://atom.io/ Atom]</li>
<li>[http://brackets.io/ Brackets]</li>
<li>[http://www.sublimetext.com/ Sublime Text]</li>
<li>GNU/Linux users: Text Editor (gedit), Kate, vim, emacs, etc...</li>
<li>Windows: '''don't use''' Notepad or WordPad</li>
<li>macOS: '''don't use''' TextEdit</li>
</ul>
</li>
<li>
Get Git
<p>
In order to save your work and put it on the web, you'll need to set up Git, a version control system.
</p>
<ul>
<li>macOS: Open Terminal and type <code>git</code> (or possibly <code>sudo git</code>) to begin installation</li>
<li>Windows: Install [https://git-for-windows.github.io/ Git for Windows] with all default options</li>
<li>Sign up for a [https://github.com GitHub] account</li>
</ul>
</li>
<li>
Get the class materials
<p>
The lectures and labs have some materials and assignments, all of which can be found in the [https://github.com/JeffreyATW/fwd fwd] repository. In the first few weeks of class, we'll explain how to use Git, but if you're familiar:
</p>
<ul>
<li>Run <code>git clone <nowiki>https://github.com/JeffreyATW/fwd.git</nowiki></code> in your terminal
<ul>
<li>Windows: use Git Bash as your terminal</li>
</ul>
</li>
<li>Create a separate folder in which to do your own work</li>
<li>If you already have the materials, <code>cd</code> into the <code>fwd</code> directory and run <code>git pull</code> to update your copy to the latest version.</li>
</ul>
</li>
</ol>
</div>
</div>
</div>
</div>
Line 70: Line 149:
<div class="classes__class classes__class--lecture">
<div class="classes__class classes__class--lecture">
<h2>Lecture</h2>
<h2>Lecture</h2>
Weekly classroom-style presentation on HTML/CSS/JS. The lecture starts every Monday at 8pm. We also have a recap starting at 7:30pm, where we'll cover the (very) basics, such as explaining what "front-end" means, discussing tools of the trade, and understanding basic HTML and CSS.
Weekly classroom-style presentation on HTML/CSS/JS. The lecture starts every Monday at 8pm. We also have a recap starting at 7:30pm, where we'll cover last week's material.


<div class="classes__current">
<div class="classes__current">
==== Class for 2015-01-05: the basics ====
==== Class for 2016-06-27: back-end web development ====
<span style="color:green">'''THIS is the class to attend if you are a complete beginner!'''</span> We are starting the curriculum of this class from square one. We'll cover the very basics:
This class is all about the seedy underbelly of web development: the backend! It is tailored toward front-end developers wanting to get a taste of how things come together on the server. We'll talk about PHP, then Express.js, then Rails.
* Explaining "front-end" vs. "back-end"
* Discussing tools of the trade
* Explaining the separation between structure, presentation, and behavior
* Writing a basic HTML page
* Styling the page with basic CSS
* Explaining the role of front-end web development as a job and career


No recap session for this class. Please show up before 8pm, as physical space is limited. Bring a laptop!
During the recap period, we will set up your computers. But it's best to do this before arriving if possible. Here are the steps used for class preparation:


[https://plus.google.com/events/cdrjkkp3u8h4a3r1fvvp2nrbb80 Join the Google+ Event to watch the video livestream.]
----
 
===== THE EASIEST WAY =====
Come to the class in person and get the USB stick from Jeffrey. Then follow the below "easy" steps without having to download anything.
 
===== THE EASY WAY =====
If you would like to follow along, the easiest option is to run a virtual machine.
* Install [https://www.virtualbox.org/wiki/Downloads VirtualBox AND the Extension Pack]
* [http://jeffreyatw.com/static/frontend/Ubuntu.ova Download this preconfigured Ubuntu virtual machine (2.89GB)]
* Double-click the .ova file. You should check the "reinitialize the MAC address" step.
* Start the machine after installation and you're all set!
* System username and password are both "'''front-end'''". Feel free to change them if that's uncomfortable.
 
===== THE HARDER WAY =====
If you don't want to use a virtual machine, or would like to set your computer up for further work on your own.
 
====== Linux ======
* To set up Node.js installation, run:
** <code>curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -</code>
* Install required packages: <code>sudo apt-get install -y nodejs lamp-server^ ruby ruby-dev zlib1g-dev libsqlite3-dev</code>
** (Press Enter at any prompts.)
* Install Express: <code>sudo npm install -g express-generator</code>
* Install Rails: <code>sudo gem install rails</code>
 
====== OS X ======
* Upgrade to at least OS X 10.9, preferably the latest (currently 10.11 El Capitan).
* Install the Xcode developer tools:
** <code>xcode-select --install</code>
* For Node.JS:
** Install Node.JS: http://nodejs.org/
** Install Express: <code>npm install -g express-generator</code>
* To install Rails, run:
** <code>sudo gem install rails</code>
* For PHP, install MAMP: http://www.mamp.info/en/index.html
 
====== Windows ======
 
(I recommend sticking with the aforementioned virtual machine setup, or installing a Linux partition, as it is somewhat difficult to set things up on Windows.)
 
In all cases where there is a choice, choose 64-bit (x64).
* Install Git for Windows: http://www.git-scm.com/ (all default settings)
* For Node.JS:
** Install Node.JS: http://nodejs.org/ (all default settings)
** Install Express by opening Git Bash and running:
*** <code>npm install -g express-generator</code>
* For Rails:
** Install the latest Ruby from http://rubyinstaller.org/downloads/
*** When installing, choose to "add Ruby executables to your PATH".
** Install the Ruby Development Kit by following these instructions: https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
** Install Rails by opening Git Bash and running:
*** <code>gem install rails</code>
* For PHP:
** Install the Visual C++ 2012 Redistributable: https://www.microsoft.com/en-us/download/details.aspx?id=30679
** Install WampServer: http://www.wampserver.com/en/
 
===== THE HARDEST WAY =====
Install Node.JS, NPM, Express, Apache, PHP, Ruby, and Rails individually. Good luck!
 
[https://plus.google.com/events/cflv98a1l7ck1p18l67cca6pa1c Join the Google+ Event to watch the video livestream.]
 
[https://www.facebook.com/events/1751964791753361/ Join the Facebook event if you'd like to RSVP.]
</div>
</div>
<h3>[http://docs.google.com/present/view?id=dfjgtf36_41hmtj2td2 Intro presentation]</h3>
<h3>[http://jeffreyatw.com/fwd-slides Intro presentation]</h3>


<h3>[[Front-end_Web_Development/Notes|Previous Classes]]</h3>
<h3>[[Front-end_Web_Development/Notes|Previous Classes]]</h3>
Line 94: Line 227:


<h2>Lab</h2>
<h2>Lab</h2>
We also meet for a weekly lab/workshop where we work on an assignment that covers the material learned in the lecture earlier in the week. Those working on their own personal projects are also more than welcome to come and solicit help. Every Thursday at 8pm in the Turing classroom.
We also meet for a weekly lab/workshop where we work on an assignment that covers the material learned in the lecture earlier in the week. Those working on their own personal projects are also more than welcome to come and solicit help. Every Thursday at 7pm in the Turing classroom.
 
<div class="classes__current">
 
==== <span style="color: red">NO LAB 2016-06-16 or 2016-06-23</span> ====
 
==== [https://github.com/JeffreyATW/fwd/blob/master/series9/class19/assignment.md Assignment for 2016-06-09] (CSS backgrounds) ====
</div>


<h3>[[Front-end_Web_Development/Assignments|Previous Assignments]]</h3>
<h3>[[Front-end_Web_Development/Assignments|Previous Assignments]]</h3>

Revision as of 08:02, 26 June 2016

Front-end Web Development

A free, weekly class on HTML, CSS, and JavaScript taught by Jeffrey Carl Faden

What

Learn HTML, CSS and JavaScript - and put them to good use! This free class is aimed at beginners who are interested in web development, as well as seasoned professionals looking to brush up on the latest and greatest.

Front-end web development is all about making code that runs in the browser (versus code that runs on the server). This class focuses on writing interactive web applications, taking designs and turning them into code, and much more.

This class can be attended in-person, or it can be viewed online. Videos/material for previous classes can be found on the previous classes page.

Who

This class is for everyone! Computer users unacquainted with programming, as well as experienced developers, are welcome at any time. If you're new to the class, consider attending the lecture at 7:30 for a recap.

This class is entirely free to attend. You do not have to be a Noisebridge member. If you are coming to Noisebridge to attend the class in-person, state that you're here for the class and you'll be allowed in as a guest.

If you appreciate this class and the space that enables it to be taught, please consider donating to Noisebridge.

Please bring any kind of laptop.

When

Lectures start promptly at 8pm on Mondays and go for up to two hours. There is a half-hour recap starting at 7:30pm. Please try to arrive early as physical space is limited.

Labs start at 7pm on Thursdays and end two hours later.

This class runs in a weekly series, and the curriculum takes about 6 months from start to finish. Don't let it discourage you if you're starting from the middle - attend recaps and labs and you should be able to catch up!

Where

Noisebridge, 2169 Mission St., San Francisco, 94114 (at 18th St., near 16th St. BART station). Getting Here

The lecture is held in the Church classroom, which is in the back of the space.

The lab is held in the Turing classroom, the room past the wood shop.

Read up on getting in to the space. Again, you do not need to be a member!

If you're attending online, look for the link to watch the latest class in the #Lecture section.

New Series

July 11

Remember that you can start coming to class at any time during the series! You can catch up by watching videos from previous classes, doing assignments, or attending lab.

RSVP for the new series on Facebook or Meetup!

Keep Informed

Join one of the above to be notified of upcoming classes.

If you can't make it, subscribe to a mailing list to be notified when you can watch a live stream of the lecture! If you missed it, previous lecture streams are available for viewing on the Previous Classes page!

Get Set Up

  1. Get a web browser

    Most web browsers keep themselves up to date. You'll have to take extra steps with the built-in browsers.

  2. Get a text editor

    There are a number of great free (or free to use) text editors that include helpful features like syntax highlighting and code completion.

    • Atom
    • Brackets
    • Sublime Text
    • GNU/Linux users: Text Editor (gedit), Kate, vim, emacs, etc...
    • Windows: don't use Notepad or WordPad
    • macOS: don't use TextEdit
  3. Get Git

    In order to save your work and put it on the web, you'll need to set up Git, a version control system.

    • macOS: Open Terminal and type git (or possibly sudo git) to begin installation
    • Windows: Install Git for Windows with all default options
    • Sign up for a GitHub account
  4. Get the class materials

    The lectures and labs have some materials and assignments, all of which can be found in the fwd repository. In the first few weeks of class, we'll explain how to use Git, but if you're familiar:

    • Run git clone https://github.com/JeffreyATW/fwd.git in your terminal
      • Windows: use Git Bash as your terminal
    • Create a separate folder in which to do your own work
    • If you already have the materials, cd into the fwd directory and run git pull to update your copy to the latest version.

Lecture

Weekly classroom-style presentation on HTML/CSS/JS. The lecture starts every Monday at 8pm. We also have a recap starting at 7:30pm, where we'll cover last week's material.

Class for 2016-06-27: back-end web development

This class is all about the seedy underbelly of web development: the backend! It is tailored toward front-end developers wanting to get a taste of how things come together on the server. We'll talk about PHP, then Express.js, then Rails.

During the recap period, we will set up your computers. But it's best to do this before arriving if possible. Here are the steps used for class preparation:


THE EASIEST WAY

Come to the class in person and get the USB stick from Jeffrey. Then follow the below "easy" steps without having to download anything.

THE EASY WAY

If you would like to follow along, the easiest option is to run a virtual machine.

THE HARDER WAY

If you don't want to use a virtual machine, or would like to set your computer up for further work on your own.

Linux
  • To set up Node.js installation, run:
  • Install required packages: sudo apt-get install -y nodejs lamp-server^ ruby ruby-dev zlib1g-dev libsqlite3-dev
    • (Press Enter at any prompts.)
  • Install Express: sudo npm install -g express-generator
  • Install Rails: sudo gem install rails
OS X
  • Upgrade to at least OS X 10.9, preferably the latest (currently 10.11 El Capitan).
  • Install the Xcode developer tools:
    • xcode-select --install
  • For Node.JS:
  • To install Rails, run:
    • sudo gem install rails
  • For PHP, install MAMP: http://www.mamp.info/en/index.html
Windows

(I recommend sticking with the aforementioned virtual machine setup, or installing a Linux partition, as it is somewhat difficult to set things up on Windows.)

In all cases where there is a choice, choose 64-bit (x64).

THE HARDEST WAY

Install Node.JS, NPM, Express, Apache, PHP, Ruby, and Rails individually. Good luck!

Join the Google+ Event to watch the video livestream.

Join the Facebook event if you'd like to RSVP.

Intro presentation

Previous Classes

Lab

We also meet for a weekly lab/workshop where we work on an assignment that covers the material learned in the lecture earlier in the week. Those working on their own personal projects are also more than welcome to come and solicit help. Every Thursday at 7pm in the Turing classroom.

NO LAB 2016-06-16 or 2016-06-23

Assignment for 2016-06-09 (CSS backgrounds)

Previous Assignments