-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joe Burgess
committed
Apr 3, 2017
0 parents
commit 0170293
Showing
5 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
tags: | ||
- JS | ||
- selectors | ||
languages: | ||
- JS | ||
resources: | ||
- 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Contributing to Learn.co Curriculum | ||
|
||
We're really excited that you're about to contribute to the [open curriculum](https://learn.co/content-license) on [Learn.co](https://learn.co). If this is your first time contributing, please continue reading to learn how to make the most meaningful and useful impact possible. | ||
|
||
## Raising an Issue to Encourage a Contribution | ||
|
||
If you notice a problem with the curriculum that you believe needs improvement | ||
but you're unable to make the change yourself, you should raise a Github issue | ||
containing a clear description of the problem. Include relevant snippets of | ||
the content and/or screenshots if applicable. Curriculum owners regularly review | ||
issue lists and your issue will be prioritized and addressed as appropriate. | ||
|
||
## Submitting a Pull Request to Suggest an Improvement | ||
|
||
If you see an opportunity for improvement and can make the change yourself go | ||
ahead and use a typical git workflow to make it happen: | ||
|
||
* Fork this curriculum repository | ||
* Make the change on your fork, with descriptive commits in the standard format | ||
* Open a Pull Request against this repo | ||
|
||
A curriculum owner will review your change and approve or comment on it in due | ||
course. | ||
|
||
# Why Contribute? | ||
|
||
Curriculum on Learn is publicly and freely available under Learn's | ||
[Educational Content License](https://learn.co/content-license). By | ||
embracing an open-source contribution model, our goal is for the curriculum | ||
on Learn to become, in time, the best educational content the world has | ||
ever seen. | ||
|
||
We need help from the community of Learners to maintain and improve the | ||
educational content. Everything from fixing typos, to correcting | ||
out-dated information, to improving exposition, to adding better examples, | ||
to fixing tests—all contributions to making the curriculum more effective are | ||
welcome. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#Learn.co Educational Content License | ||
|
||
Copyright (c) 2015 Flatiron School, Inc | ||
|
||
The Flatiron School, Inc. owns this Educational Content. However, the Flatiron School supports the development and availability of educational materials in the public domain. Therefore, the Flatiron School grants Users of the Flatiron Educational Content set forth in this repository certain rights to reuse, build upon and share such Educational Content subject to the terms of the Educational Content License set forth [here](http://learn.co/content-license) (http://learn.co/content-license). You must read carefully the terms and conditions contained in the Educational Content License as such terms govern access to and use of the Educational Content. | ||
|
||
Flatiron School is willing to allow you access to and use of the Educational Content only on the condition that you accept all of the terms and conditions contained in the Educational Content License set forth [here](http://learn.co/content-license) (http://learn.co/content-license). By accessing and/or using the Educational Content, you are agreeing to all of the terms and conditions contained in the Educational Content License. If you do not agree to any or all of the terms of the Educational Content License, you are prohibited from accessing, reviewing or using in any way the Educational Content. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Moving Away from the DOM | ||
|
||
Congratulations! You are now able to understand how Javascript interacts with the websites throught the DOM. That's a big deal. Take a few seconds, breathe in, breath out and realize that you now know something you didn't before. Only a few lessons ago, you were didn't even know what the DOM was. Now you understand how to manipulate it. | ||
|
||
![Perspective](https://web-dev-readme-photos.s3.amazonaws.com/js/perspective.gif) | ||
|
||
If you ever want to show your friends something cool, open up the console on any web page and then find the selector for an element, then modify it using | ||
Javascript in the console. Prepare to enjoy the shock and awe of your friends! | ||
|
||
## From DOM Manipulation to Programming Logic | ||
|
||
The rest of this material, we will be moving from the basics of DOM manipulation to the meat and potatoes of programming. This means we are going to expand on the ideas of conditionals, looping, encapsulation and syntax. I know those may not be 100% familiar to you, but over the next few lessons they will become second hand! Remember when DOM was a scary word? Encapsulation will soon go the way of the DOM and become second nature. You're going to be encapsulating everything. | ||
|
||
Really the goal of the rest of this course is to introduce you to _programmatic thinking_. We will be doing that through explaining Javascript, but the goal of every student we serve at The Flatiron School is to teach programmatic thinking as a general way to solve problems. These problems may be creating the next Facebook, or it may be just solving the best order to complete your errands. You'll notice programmatic, logical thinking starting to permeate throughout your decision process. It's incredibly powerful and something that has aided millions of programmers to solve some of the hardest problems in the world. | ||
|
||
That, is the goal with this class. While we may touch on making pictures of cats spin, we want you to internalize the thought process required to solve that silly problem. Hopefully, you'll go off after this class and solve some slightly more important problems :) | ||
|
||
### Javascript Outside of the Browser | ||
|
||
You've spent some time in the browser with javascript. That's great. Now let's get to where Javascript has been rapidly increasing its programming market share: outside of the browser. You may have heard of it, but a new tool called NodeJS was created a few years back to allow developers to write Javascript code outside of the browser. That is what we are going to use now to be able to go deep on programmatic thinking, without having to explain complicated browser interactions. We want to simplify programming down to its most core elements. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// write your code below! |