In this project you will be using the concepts learned in the Git for Web Development lesson to fork/clone/push/and submit a PR for each project during this sprint.
This project consists of two parts:
You will need to follow the Lambda School Git Workflow to add a file to this project follow the steps below:
- Create your own version of this repo - Fork
- Clone this repo
- Create a branch
git checkout -b 'firstName-lastName'
- Add a file to the project called
yourFirstName-yourLastName
.txt. This should contain the link to your completed codepen from part 2 as well as the review questions/answers - Run your usual git commands for adding/committing and pushing Be sure to push to your branch!
- Add a file to the project called
- Create a Pull-Request to submit your work
- Use your own student fork as the base (compare across forks, base-fork -> main).
- fork this codepen https://codepen.io/BritHemming/pen/eYYEoPa?editors=1100
- You will be marking up all of the HTML and styling it to look like this: https://codepen.io/BritHemming/full/jONmxOm using CSS
- this should be review from yesterday/ extra practice
- After you are finished please copy the review questions into your .txt file and answer them
- don't forget to add, commit and push your changes.
Stretch Review questions: 1. What is the difference between an inline element and a block element? 2. What happens when an element is positioned absolutely? 3. How do I make an element take up only the amount of space it needs but also have the ability to give it a width? 4. Name 3 elements that are diplay block by default, 2 elements that are display inline by default and 1 element that is display inline-block by default 5. In your own words, explain the box model. What is the fix for the box model? Stretch Git Tasks
-
While the processes learned here will set you up to be successful in most situations, they are just the tip of the iceberg in learning Git. Independently research the following topics to learn more about Git.
- Research and understand what a
merge conflict
is and how to resolve it. - Research the Git commands
pull
,rebase
,merge
. These commands will allow you to bring in changes that other developers push to the main branch. - Research the Git commands
reset
,revert
,clean
. These commands will allow you to go back and amends previous commits you have made.
- Research and understand what a
-
Research and set up a Graphical User Interface (GUI) Git console.
-
Research and setup SSH keys with GitHub, so that you do not need to input your username/password each time you push.
https://codepen.io/wzd200/pen/LYZLWyz?editors=1100
- What is Semantic HTML?
Semantic HTML is code that is written and immediately understood for the sake of ordering a webpage.
2. What is HTML used for?
To place and markup text on a webpage.
3. What is an attribute and where do we put it?
We put attributes inside of opening tags.
4. What is the h1 tag used for? How many times should I use it on a page?
Used to make the first header, or title, of a page. It should be used only 1 time.
5. Name two tags that have required attributes
and
6. What do we put in the head of our HTML document? Metadata 7. What is an id? A classifier for a tag that should only be used once per unique ID. 8. What elements can I add an id to?
Git Workflow:
Checkout A Branch:
- git checkout -b 'branch-name'
For Submissions
- git add .
- git commit -m "Commit Message Goes Here"
- git push -u origin 'branch-name'