From b227991d83a669ee22eeb0cf55d42fda480c8430 Mon Sep 17 00:00:00 2001 From: Trell Cornelius Date: Wed, 1 Sep 2021 00:59:23 +0700 Subject: [PATCH 1/3] added codepen url and questions to text file --- trell-cornelius.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 trell-cornelius.txt diff --git a/trell-cornelius.txt b/trell-cornelius.txt new file mode 100644 index 000000000..e69de29bb From 0659a0154e05fb2009662aa9eb87fbb04b29db56 Mon Sep 17 00:00:00 2001 From: Trell Cornelius Date: Wed, 1 Sep 2021 01:02:31 +0700 Subject: [PATCH 2/3] added codepen url and questions to text file. --- trell-cornelius.txt | 47 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/trell-cornelius.txt b/trell-cornelius.txt index e69de29bb..4033f8f97 100644 --- a/trell-cornelius.txt +++ b/trell-cornelius.txt @@ -0,0 +1,47 @@ +link to finished codepen: https://codepen.io/trellntech/pen/LYLNVzq?editors=1100 + + 1. What is Semantic HTML? + 2. What is HTML used for? + 3. What is an attribute and where do we put it? + 4. What is the h1 tag used for? How many times should I use it on a page? + 5. Name two tags that have required attributes + 6. What do we put in the head of our HTML document? + 7. What is an id? + 8. What elements can I add an id to? + 9. How many times can I use the same id on a page? + 10. What is a class? + 11. What elements can I add a class to? + 12. How many times can I use the same class on a page? + 13. How do I get my link to open in a new tab? + 14. What is the alt attribute in the image tag used for? + 15. How do I reference an id? + 16. What is the difference between a section and a div + 17. What is CSS used for? + 18. How to we select an element? Example - every h2 on the page + 19. What is the difference between a class and an id? - Give me an example of when I might use each one + 20. How do we select classes in CSS? + 21. How do we select a p element with a single class of “human””? + 22. What is a parent child selector? When would this be useful? + 23. How do you select all links within a div with the class of sidebar? + 24. What is a pseudo selector? + 25. What do we use the change the spacing between lines? + 26. What do we use to change the spacing between letters? + 27. What do we use to to change everything to CAPITALS? lowercase? Capitalize? + 28. How do I add a 1px border around my div that is dotted and black? + 29. How do I select everything on the page? + 30. How do I write a comment in CSS? + 31. How do I find out what file I am in, when I am using the command line? + 32. Using the command line - how do I see a list of files/folders in my current folder? + 33. How do I remove a file via the command line? Why do I have to be careful with this? + 34. Why should I use version control? + 35. How often should I commit to github? + 36. What is the command we would use to push our repo up to github? + 37. Walk me through Lambda's git flow. + +Stretch 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, in other words, how do we make all elements respect the width we've given them? \ No newline at end of file From dbc211b3bd01cff7339ce0b5bc893e8e0afbccb0 Mon Sep 17 00:00:00 2001 From: Trell Cornelius Date: Wed, 1 Sep 2021 04:18:02 +0700 Subject: [PATCH 3/3] updated questions and answers, still no codepen access. --- trell-cornelius.txt | 73 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 70 insertions(+), 3 deletions(-) diff --git a/trell-cornelius.txt b/trell-cornelius.txt index 4033f8f97..0be85377b 100644 --- a/trell-cornelius.txt +++ b/trell-cornelius.txt @@ -1,42 +1,109 @@ link to finished codepen: https://codepen.io/trellntech/pen/LYLNVzq?editors=1100 1. What is Semantic HTML? + HTML code with meaning 2. What is HTML used for? + HTML is used to markup a website 3. What is an attribute and where do we put it? - 4. What is the h1 tag used for? How many times should I use it on a page? - 5. Name two tags that have required attributes + the are put inside the opening tage to modify an element + 4. What is the h1 tag used for? How many times should I use it on a page? + The h1 tag is the most important text. It should only be used once + 5. Name two tags that have required attributes: + , 6. What do we put in the head of our HTML document? +
7. What is an id? + 8. What elements can I add an id to? + 9. How many times can I use the same id on a page? + 10. What is a class? + 11. What elements can I add a class to? + 12. How many times can I use the same class on a page? + 13. How do I get my link to open in a new tab? + 14. What is the alt attribute in the image tag used for? + 15. How do I reference an id? + 16. What is the difference between a section and a div + 17. What is CSS used for? + 18. How to we select an element? Example - every h2 on the page + 19. What is the difference between a class and an id? - Give me an example of when I might use each one + 20. How do we select classes in CSS? + . + 21. How do we select a p element with a single class of “human””? + p .human{ + + } + 22. What is a parent child selector? When would this be useful? + 23. How do you select all links within a div with the class of sidebar? + div links .sidebar{ + + } + 24. What is a pseudo selector? + 25. What do we use the change the spacing between lines? + 26. What do we use to change the spacing between letters? + 27. What do we use to to change everything to CAPITALS? lowercase? Capitalize? + 28. How do I add a 1px border around my div that is dotted and black? + div{ + border: 1px dotted black; + } + 29. How do I select everything on the page? + *{ + + } + 30. How do I write a comment in CSS? + /* insert comment here */ + 31. How do I find out what file I am in, when I am using the command line? + + 32. Using the command line - how do I see a list of files/folders in my current folder? + 33. How do I remove a file via the command line? Why do I have to be careful with this? + 34. Why should I use version control? - 35. How often should I commit to github? + + 35. How often should I commit to github? + every 20 minutes 36. What is the command we would use to push our repo up to github? + git push -u origin firstname-lastname 37. Walk me through Lambda's git flow. + 1. Fork the repo in GitHub + 2. Clone to computer using SSH link + 3. Open Terminal + 4. cd Desktop + 5. cd LambdaAssignment + 6. git clone "insert SSH cloning link github" + 7. ls to check files in this directory + 8. cd to whichever file using + 9.branch git checkout -b firstname-lastname + 10. code . to open in VSCode + 11. work in VSCode + - Every 20 minutes- + 12. git add . + 13. git commit -m 'insert message here' + 14. git push -u origin firstname-lastname + 15. generate pull report in github Stretch Questions