Prework Study Guide
✨ Open the Console to See What's Happening ✨
HTML
- HTML to define the content of web pages
- The head element contains information about the webpage.
- The body element represents the visible content shown to the user.
- All HTML documents must start with a document type declaration: !DOCTYPE html.
- The HTML document itself begins with html and ends with /html.
- The visible part of the HTML document is between body and /body.
CSS
- CSS to specify the layout of web pages
- CSS stands for Cascading Style Sheets
- CSS describes how HTML elements are to be displayed on screen, paper, or in other media
- CSS saves a lot of work. It can control the layout of multiple web pages all at once
- External stylesheets are stored in CSS files
- A margin indicates how much space we want around the outside of an element.
- A padding indicates how much space we want around the content inside an element.
Git
- Git is a version control system used for tracking changes in computer files. It is generally used for
source code management in software development.
- git status: checks what branch we are currently on
- git checkout -b branch-name: creates a new branch and switches to it
- Git is used to tracking changes in the source code
- The distributed version control tool is used for source code management
- It allows multiple developers to work together
- It supports non-linear development through its thousands of parallel branches
JavaScript
- JavaScript to program the behavior of web pages
- A variable is a named container that allows us to store data in our code.
- Control flow is the order in which a computer executes code in a script.
some functions of javascript
- Show or hide more information with the click of a button
- Change the color of a button when the mouse hovers over it
- Slide through a carousel of images on the homepage
- Zooming in or zooming out on an image
- Displaying a timer or count-down on a website
- Playing audio and video in a web page
- Displaying animations
- Using a drop-down hamburger menu