Skip to content

ga-wdi-exercises/checkpoint-00

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

Checkpoint 00

Fork and clone this repo and follow the directions below.

For the following quiz, there will be a series of questions or directions followed by answer goes here. You'll replace answer goes here with your answer between the triple back ticks ( ``` ). When you're done, submit this updated file as a pull request to this repo.

Please reference this document for more information on how to submit this checkpoint.

Javascript Variables and Data Structures

Question 1

Create a variable and store the string "pizza" in it...

// Answer goes here...

For questions 2-5, use the code below to answer questions 2 through 4.

var names = ["Jonas", "Inigo Montoya", "Slim Shady", "Mr. Robot"];
var clown = {
  name: "Joker",
  evil: true,
  minions: ["Bozo", "Harley Quinn", "Grumpy", "Chuckles"],
  enemy: {
    name: "Batman",
    evil: false,
    minions: ["Robin", "Alfred"]  
  }
};

Question 2

Access the value "Jonas" out of the names array...

// Answer goes here...

Question 3

Write a for loop that prints hello NAME to the console. NAME should be replaced with a name that appears in the names array. Each iteration of the loop should print a different name.

// Answer goes here...

Question 4

Access the value "Alfred" out of the clown object...

// Answer goes here...

Question 5

Set a new property on the object stored in the variable clown. Make it anything you want!

// Answer goes here...

Question 6

Write a function that takes an array as an argument and returns the array's first value...

// Answer goes here...

Git & GitHub

Question 7

What is Git, what problem does it solve? What is the difference between Git and Github?

# Answer goes here...

Question 8

What is the difference between a fork and a clone?

# Answer goes here...

HTML & CSS

Question 9

How would you link a CSS file entitled hardstyle.css in an HTML file?

<!-- Answer goes here... -->

For Questions 10 & 11 use the code example below...

<body>
  <div id="dog-resume">
    <ul class="skillz">
      <li> - Bone Location</li>
      <li> - Remote Sniffing</li>
      <li> - Delineating Territory</li>
      <li> - Shoe Deconstruction </li>
      <li> - Carpet Stain Placement </li>
    </ul>
  </div>
</body>

Question 10

Write a CSS selector that will apply styling to an element with an id of dog-resume...

/* Answer goes here... */

Question 11

Write a CSS selector-rule that will select and apply styling to every <li> inside of a <ul>:

/* Answer goes here... */

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages