Skip to content

Latest commit

 

History

History
71 lines (30 loc) · 1.69 KB

Week-2.md

File metadata and controls

71 lines (30 loc) · 1.69 KB

Javascript Course Assessment

Week 2 Assessment

Try your best to answer each question on your own before looking up the answer online. Once you're done writing your first answer, you can google the question and write the best answer you find.

1. How do you link a css file to your html page?

//Your Answer

//Googled Answer

2. What is a css class? How do you use declare one in html? How do you use it in css?

//Your Answer

//Googled Answer

3. The class "heading-box" exists in our html file - write the css code that would:

1) align this box to the center of its container,
2) give it a black border that is 5px wide,
3) make its text appear in the center of the box

4. What is Bootstrap? Explain a few reasons that you might choose to use it in a project?

//Your Answer

//Googled Answer

5. Name 4 semantic html tags.

6. What is block scope that became available in ES6? Include how it differs from local and global scope, and what variables are block scoped.

//Your Answer

//Googled Answer

7. What is front end development? Can you identify any tools/skills that are uniquely required of front end developers?

//Your Answer

//Googled Answer

8. Choose one of the new ES6 concepts we learned about this week (namely: block scope, classes, and string interpolation) and write example code that demonstrates the concept, with comments to explain what is going on.

9. What is the difference between a div and a span?

//Your Answer

//Googled Answer

10. How would you explain the idea of "inheritance" in object oriented programming?

//Your Answer

//Googled Answer