This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Can you execute Ruby in the Chrome console? Why / why not? | |
Ruby cannot be executed in the chrome console. I am not exectly sure the technical reasons, but I would guess is that chrome does not have an inheret Ruby envirement to execute the code. This is why we had to create the envirement on our local computers. | |
2. Write some Ruby code that includes a method that fails to work solely because of a scope issue. Think about how Ruby scope differs from Javascript scope. | |
array = [1,2] | |
def add | |
array[0]+array[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Congratulations on your second week of WDI! | |
To help us track your progress from the last week, please answer the following questions to the best of your ability: | |
1. DOM | |
# Write a line of code that will create a button: | |
var button = document.createElement('button); | |
# Write a line of code that will append that button to the document body: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Congratulations on your first week of WDI! | |
At the end of certain weeks we'll assess your progress through the week's material with a series of short questions. This gives us a data set to talk about with you during one on one meetings and code reviews. | |
You'll be entering these questions in by hand. | |
Topic | |
Bash _ / 4 | |
Git _ / 3 | |
Variables _ / 5 |