Skip to content

Commit

Permalink
update image links
Browse files Browse the repository at this point in the history
  • Loading branch information
lizbur10 committed Jan 13, 2021
1 parent 4b6766e commit 9db9269
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ when a child learns to communicate through words instead of screaming fits. In
this early phase, however, some of their statements lack politeness and
sensitivity.

![Raw id, uncouth expression of desire for a cookie](https://curriculum-content.s3.amazonaws.com/programming-univbasics-2/introduction/Image_92_CookieNOW.png)
![Raw id, uncouth expression of desire for a cookie](https://curriculum-content.s3.amazonaws.com/phase-0/pac-2-intro/Image_92_CookieNOW.png)

Part of growing in their ability to converse is learning to wrap their desires
in politeness and consideration for the listener. "Would you mind giving me a
cookie?" and "Would you care to join me for a cookie?" both express the same
desire as our "rougher" example above, but show maturity.

![A mannerly cookie request](https://curriculum-content.s3.amazonaws.com/programming-univbasics-2/introduction/Image_93_CookiePolite.png)
![A mannerly cookie request](https://curriculum-content.s3.amazonaws.com/phase-0/pac-2-intro/Image_93_CookiePolite.png)

The same is true in code: we can do a great amount of work using just
_expressions_. However, _mature_ "speakers" of code learn to wrap their
Expand Down Expand Up @@ -86,7 +86,7 @@ change the _default execution order_.

## Understand the Default Execution Order

![Sequence Image](https://curriculum-content.s3.amazonaws.com/programming-univbasics-2/sequence-and-comments/Sequence_thick.png)
![Sequence Image](https://curriculum-content.s3.amazonaws.com/phase-0/pac-2-intro/Sequence_thick.png)

JavaScript by default will read our code according to the rules of a **default
sequence** or **default flow**: "every line, top to bottom, left to right as
Expand Down Expand Up @@ -127,7 +127,7 @@ what order:

## Provide An Example of Selection Statement

![Seelection Image](https://curriculum-content.s3.amazonaws.com/programming-univbasics-2/sequence-and-comments/Selection_thick.png)
![Seelection Image](https://curriculum-content.s3.amazonaws.com/phase-0/pac-2-intro/Selection_thick.png)

As represented in the image above, sometimes we need to deviate from the default
**sequence**. We might need to **select** a different path. There's a [poem by
Expand Down Expand Up @@ -158,7 +158,7 @@ comparison operator and see what happens.

## Provide An Example of Repetition Statement

![Repetition Graphic](https://curriculum-content.s3.amazonaws.com/programming-univbasics-2/sequence-and-comments/Repetition_thick.png)
![Repetition Graphic](https://curriculum-content.s3.amazonaws.com/phase-0/pac-2-intro/Repetition_thick.png)

**Repetition** lets us disrupt default flow by _repeating_. The `while` loop,
which we will introduce formally in a few lessons, means "do something `while`
Expand All @@ -183,7 +183,3 @@ verb. We're now going to try to write complete sentences with conjunctions and
punctuation (like the cookie examples!). We improve our basic sentences by using
SELECTION or REPETITION statements that allow us to create code that deviates
from the default "flow" or SEQUENCE.

In upcoming lessons, you'll see our icons repeated to help you have a visual
reminder of whether the statement you're learning is about SELECTION,
REPETITION, or SEQUENCE.

0 comments on commit 9db9269

Please sign in to comment.