-
-
Notifications
You must be signed in to change notification settings - Fork 1
Lesson #2: Let's Get Down to the Basics
Now before we get started, I want you to know this one thing ☝️:
It is more than okay (expected actually) if you don’t understand every word in the following lessons.
What I don't want you to do is stop. When you come up to a term that hasn't quite clicked yet, message in the slack channel but keep on going. This was one of my biggest challenges when starting computer science 💻. Computer Science is all about connecting the dots; combining the knowledge you do have to something new.
Every class I would find myself in another rabbit hole 🐰, getting confused at the first new term that was introduced and not understanding how it fits into the bigger picture. I would spend the rest of the class looking up article after article / watching video after video, every new term led me down another 63 rabbit holes until I gave up. lol, don't do this. Give yourself the time to process, and repeat the lesson a couple of times until you feel comfortable. In order to connect the dots, you need to be willing to reach new dots. #TrustTheProcess 🏀
Also, I found it easier to not think of this as an "Easy 10 Step Process to Becoming a Programmer" ✅. I wish it was that easy... but its not a linear process (kinda like life). You'll understand it at your own pace, in your own way.
When I start a new project or I'm in a new transition or even fine tuning my craft, I go back to the basics. I feel like most people try to breeze past this phase, because its not flashy or fun but its the foundation that'll bring you forward.
HTML (HyperText Markup Language) is the basic language for any web page. Its a prettified text file that defines the structure and presentation for web page content. Its the skeleton of your website, your web page without makeup on 💄.
In order to have your personal computer files synced with the files in your Github repository, we're going to have to go into hacker status😎. I was going to teach y'all how to code from your terminal/command line, but I would rather teach that virtually. Instead we're going to use a tool called GitHub Desktop.
- Download GitHub Desktop here
- Install on your computer/ Authenticate with your GitHub account here
-
Use the repository you created from lesson #1 as your project repository for the class. (You can rename the repository to something other than
betateam
if you like). - Clone the repository to GitHub Desktop
- Open GitHub Desktop application
- Select
File
>Clone Repository
to open a list of repositories associated with your GitHub account - In the
Add Create Clone
option in the top of the choice box, selectClone
and find the repository - Determine where your project folder should reside on your personal computer. This is important for pulling up the project in later steps!
- Celebrate 🎉 since your repository is now in the GitHub Desktop application!!! This will allow you to see your code changes in a more visually appealing place.
If you're still stuck on why we're using GitHub Desktop / how its different than GitHub, watch this below:
Once you've gotten GitHub Desktop all configured, we're going to start the groundwork. For this lesson, we are only going to focus on building one file - the index.html
file in our own website repository.
-
Create a new branch for Lesson #2
- Go to your repository
- Click the drop down at the top of the file list branch:master
- Type a branch name (it can be anything, I'm using Lesson #2), into the new branch text box.
- Select the blue Create branch box to create the new branch
We are going to be using this branch Lesson #2
for all of our changes in this lesson. Remember you can commit changes as frequent as you like! I suggest being descriptive in your commit messages, for it is great practice and will come in handy if you want to refer back.
-
Open your project in a text editor (Atom or Sublime Text). This way it will be there all nice and pretty to work with.
- Open your text editor application
- Select
File
>Open
> navigate to the folder where you cloned your repository in step 3. - Celebrate 🎉 cause we are ready to start coding!!!!!!!