-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from turingschool/update-litebrite
updates and activates litebrite
- Loading branch information
Showing
16 changed files
with
281 additions
and
135 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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
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
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,39 @@ | ||
--- | ||
layout: lesson | ||
--- | ||
|
||
# Modifying the Lite-Brite HTML | ||
|
||
## Tour the Existing Code | ||
|
||
- Elements that live inside of the `HTML` file will be displayed on the page. | ||
|
||
### Explore to Learn: | ||
|
||
- Look at the browser section (the lower portion of the page) - how many Lite-Brite "dots" are being displayed? Can you identify the code that created those dots? | ||
- While your cursor is on line 13, use the keyboard shortcut `cmd + /` (Mac) or `ctrl + /` (PC) to _comment out_ that line of code. What changes do you see in the browser? What does that teach you about what line 13 does? (When finished exploring, _uncomment_ line 13 with the same shortcut.) | ||
<br> | ||
<br> | ||
|
||
<div class="try-it-new"> | ||
<h2>Modify the Existing Code</h2> | ||
<p>Now that we're getting to know HTML and this specific project a bit better, let's modify it!</p> | ||
<p><strong>Add 5-10 additional dots to your Lite-Brite board.</strong></p> | ||
</div> | ||
|
||
## HTML Summary | ||
|
||
- Elements that live inside of the `html` body will be displayed on the page. | ||
- The number of elements and the content inside of the elements in the HTML body usually have a one-to-one correlation with what we see in the browser. | ||
- Every little character matters. The browser can't assume anything about what we want it to do. | ||
|
||
### Up Next | ||
|
||
- [What is Front End and Back End Engineering?](../../what-is-fe-be) | ||
- [Project Setup](../) | ||
- <strong>[HTML - Content](../html)</strong> | ||
- [CSS - Styles](../css) | ||
- [JavaScript- Explore](../js-1) | ||
- [JavaScript - Create](../js-2) | ||
- [Extensions](../extensions) | ||
- [Wrap-Up](../../wrap-up) |
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,66 @@ | ||
--- | ||
layout: lesson | ||
--- | ||
|
||
# Build a Virtual Lite-Brite | ||
|
||
[Thinking of a Lite-Brite](https://en.wikipedia.org/wiki/Lite-Brite) may make you nostalgic. But these days, they are covered in germs. In this live, instructor-led workshop, you will build and customize your very own _virtual_ Lite Brite that you can share with anyone around the world! | ||
|
||
_This will be best experienced on a desktop or laptop computer._ | ||
|
||
## Goals | ||
|
||
- Build and customize a virtual Lite-Brite | ||
- Gain _exposure_ and familiarity with some HTML, CSS, and JavaScript | ||
- Determine if coding is something you enjoy doing and want to pursue further | ||
|
||
Disclaimer: We won't become experts in these languages today. And you may leave with more questions than answers! | ||
<br><br> | ||
|
||
## Programming Languages We Will Use | ||
|
||
Building the user-facing part of a website or app is referred to as Front End Engineering. Building a Front End requires the writing code in three programming languages, and making the code in each language "talk to" the code in the others. | ||
|
||
It can feel like a lot, but let's start by building an understanding of what each language is responsible for. We will make some comparisons to the human body to create context. | ||
|
||
<section class="data-type-cards language-cards"> | ||
<div> | ||
<h3>HTML</h3> | ||
<p>HTML holds the content we see on a page (text, images) and defines the structure and order in which the content appears.</p> | ||
<p>We can think of HTML as the skeleton of our webpage; without it, we'd just be a blob:</p> | ||
<img src="./assets/html.png" alt="Drawing of human skeleton" /> | ||
</div> | ||
|
||
<div> | ||
<h3>CSS</h3> | ||
<p>CSS defines the look and feel of a webpage - it can change the size or layout of items on a page, change colors, fonts, and more!</p> | ||
<p>We can think of CSS as anything that makes us unique and recognizable - our skin, hair, clothes, style, etc.</p> | ||
<img src="./assets/css.png" alt="Drawing of human skeleton" /> | ||
</div> | ||
|
||
<div> | ||
<h3>JavaScript</h3> | ||
<p>JavaScript is what lets the user interact with a page. For example, clicking a button and getting some sort of response.</p> | ||
<p>We can think of JavaScript as the brain and muscle of our webpage, as it powers all the action:</p> | ||
<img src="./assets/js.png" alt="Drawing of human skeleton" /> | ||
</div> | ||
</section> | ||
<br><br> | ||
|
||
## Project Setup | ||
|
||
We will work off of a starter kit that has already been created. Click [this link to access the starter kit](https://codepen.io/turing-trycoding/pen/RwXPeNr) in codepen.io. Here's how we will use this code: | ||
1. Fork the pen using the `Fork` button along the bottom of the page. This creates your own copy of the starter code so that you can make and keep changes to the code! | ||
1. After forking, substitute your name for `NAME` on line 1 of the html file | ||
1. Click `Save` or wait just a moment for codepen to autosave and update the result (the bottom portion of the page). | ||
|
||
<br><br> | ||
### Up Next | ||
- [What is Front End and Back End Engineering?](./what-is-fe-be) | ||
- <strong>[Project Setup](./litebrite)</strong> | ||
- [HTML - Content](./html) | ||
- [CSS - Styles](./css) | ||
- [JavaScript- Explore](./js-1) | ||
- [JavaScript - Create](./js-2) | ||
- [Extensions](./extensions) | ||
- [Wrap-Up](./wrap-up) |
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
Oops, something went wrong.