Bootcamp Day 1 Lesson Plan
Table of Contents
Discussion
- Why did you sign up?
- What do you want to learn?
- What do you know about HTML?
- What do you want to be able to do at the end of the week?
Learning How to Use Pop!_OS
- Connect to WiFi by clicking the WiFi icon in the upper right corner
- Open Firefox
- Use the
Launcher
:- Press the
SUPER
key, which is usually is the Windows or⌘
/Command
/Cmd
key (recommended method) - Click the launcher icon in the Dock
- Select
Applications
in the upper left corner
- Press the
- Use the
- Visit willston.org/curriculum to follow along with the steps
- You can find the link to this page by clicking “Bootcamp Objectives” and finding the link that says “Day 1”
- Open the
Pop!_Shop
- Make sure
Visual Studio Code
is installed by clicking searching using the search icon in the upper right corner
Block A: Hello World Example
Demonstration: Files and Folders
- Physical example of an
index.html
file- Folder = directory
- Paper = file
- Cut out pieces of paper = tags
Activity: Create Document Structure With Paper Tags
- Use paper cutouts, representing tags, use logic to predict document structure
Demonstration: Hello World!
- Hello World example
Activity: Students Do the Hello World Example
- Create a
~/Code
directory- Open the
Files
application - Make sure
Home
is selected on the left - Create a folder named
Code
. There are three ways to do this:Shift+Ctrl+N
(recommended method)- Right click > New Folder
- Hamburger menu > folder icon with
+
in the middle
- Open the
- Create a
hello-world
directory inside of the~/Code
directory- Open the
~/Code
directory by double clicking onCode
- Create a folder called
hello-world
- Open the
- Create an
index.html
file inside~/Code/hello-world
- Open the
Visual Studio Code
application - Close all open tabs by pressing
Ctrl+W
on the keyboard - Open the
~/Code/hello-world
directory using one of two methods:- Pressing
Ctrl+K
and thenCtrl+O
right after (recommended method) - File > Open Folder
- Pressing
- Make sure
Home
is selected on the left - Double click on
Code
- Double click on
hello-world
- Select
Open
- Trust the authors of the files in this directory
- Select the checkbox next to the text:
Trust the authors of all files in the parent folder 'Code'
- Select
Yes, I trust the authors
- Select the checkbox next to the text:
- Create a new file by selecting the file icon with the
+
sign - Copy and paste the following text into your
index.html
file:<html> <body> <h1>Hello world!</h1> </body> </html>
- Save the file (
Ctrl+S
) - Open the file
- Open the
Files
application - Make sure
Home
is selected on the left - Open the
Code
directory - Open the
hello-world
directory - Right click on
index.html
- Select
Open With Other Application
- Select
View All Applications
- Scroll and select
Firefox Web Browser
- Press
Select
- Open the
- Open the
Block B: Getting Started with freeCodeCamp
Preparation
- Create a GitHub account using a personal email
- Sign in to freeCodeCamp with previously created GitHub account
Instruction
- What are tags?
- Opening tag
- Closing tag
- Self closing tag
Learn HTML by Building a Cat Photo App: Steps 1-6
What are headers?
- Demonstration: example site using multiple headers
<!DOCTYPE html> <html> <body> <h1>Places to Eat</h1> <h2>Nearby</h2> <h3>Super Chicken</h3> <h4>Location</h4> <h4>Type of Food</h4> <h3>Subway</h3> <h4>Location</h4> <h4>Type of Food</h4> <h2>Far Away</h2> <h3>Noryangjin Fish Market</h3> <h4>Location</h4> <h4>Type of Food</h4> <h3>In-N-Out Burger</h3> <h4>Location</h4> <h4>Type of Food</h4> </body> </html>
- Practice: steps 1 and 2
What is a paragraph?
- Demonstration: add paragraphs to example site
<!DOCTYPE html> <html> <body> <h1>Places to Eat</h1> <h2>Nearby</h2> <h3>Super Chicken</h3> <h4>Location</h4> <p>7 miles away</p> <h4>Type of Food</h4> <p>Peruvian chicken</p> <h3>Subway</h3> <h4>Location</h4> <p>0.2 miles away</p> <h4>Type of Food</h4> <p>Sub sandwiches</p> </body> </html>
- Practice: step 3
What is a comment?
- Demonstration: comment out one line on example site, then comment out an
entire section
<!DOCTYPE html> <html> <body> <h1>Places to Eat</h1> <h2>Nearby</h2> <h3>Super Chicken</h3> <h4>Location</h4> <p>7 miles away</p> <h4>Type of Food</h4> <p>Peruvian chicken</p> <h3>Subway</h3> <h4>Location</h4> <p>0.2 miles away</p> <h4>Type of Food</h4> <p>Sub sandwiches</p> <!-- TODO: Add one more place to eat --> <!-- <h2>Far Away</h2> <h3>Noryangjin Fish Market</h3> <h4>Location</h4> <p>South Korea</p> <h4>Type of Food</h4> <p>Fresh seafood</p> <h3>In-N-Out Burger</h3> <h4>Location</h4> <p>California</p> <h4>Type of Food</h4> <p>Burgers</p> --> </body> </html>
- Practice: step 4
What is search engine optimization?
- Demonstration:
- When you search something up, do you click to the next page?
- Why does Apple, the company show up before apple, the fruit when you
search for
apple
on a search engine? - Adding the
<main>
tag
<!DOCTYPE html> <html> <body> <main> <h1>Places to Eat</h1> <h2>Nearby</h2> <h3>Super Chicken</h3> <h4>Location</h4> <p>7 miles away</p> <h4>Type of Food</h4> <p>Peruvian chicken</p> <h3>Subway</h3> <h4>Location</h4> <p>0.2 miles away</p> <h4>Type of Food</h4> <p>Sub sandwiches</p> <!-- TODO: Add one more place to eat --> <!-- <h2>Far Away</h2> <h3>Noryangjin Fish Market</h3> <h4>Location</h4> <p>South Korea</p> <h4>Type of Food</h4> <p>Fresh seafood</p> <h3>In-N-Out Burger</h3> <h4>Location</h4> <p>California</p> <h4>Type of Food</h4> <p>Burgers</p> --> </main> </body> </html>
- Practice: step 5
What is indentation?
Demonstration: show indentation vs no indentation
<!DOCTYPE html> <html> <body> <main> <h1>Why is using the <code>alt</code> HTML attribute important?</h1> <ul> <li>It allows people to who use a screen reader to use your site</li> <li>It improves SEO</li> <li>Users will see <em>something</em> even if you image doesn't load</li> </ul> </main> </body> </html>
versus
<!DOCTYPE html> <html> <body> <main> <h1>Why is using the <code>alt</code> HTML attribute important?</h1> <ul> <li>It allows people to who use a screen reader to use your site</li> <li>It improves SEO</li> <li>Users will see <em>something</em> even if you image doesn't load</li> </ul> </main> </body> </html>
Practice: step 6