Answer these Check for Understanding questions as you work through the assignments.
- What is HTML?
- What is an HTML element?
- What is an HTML attribute?
- What is the difference between a class and an id? When would you use one vs. the other?
This exercise is intended to help you assess your progress with the concepts and techniques we've covered during the week.
For these questions, write a short snippet of code that meets
the requirement. Fill in your answers on a second sheet of paper or in your
notebook. In cases where the question mentions a "given"
data value, use the variable given
to refer to it (instead of re-writing
the information).
Challenge Part 1:
A fun exercise which is always good Ruby practice is to re-implement an existing Ruby method. This morning, we are going to be re-implementing #reverse
.
Create a file in a folder using touch reverse.rb
In that file, write a method that will take a string as an argument and return that string reversed. Something like this:
Create VPC | |
Create Security Group | |
Create incoming and outgoing rules for SSH, HTTP, Sinatra and Rackup, 443 | |
Create Key Pair | |
cd ~/.ssh | |
mv ~/Downloads/Turing.pem . | |
chmod 400 Turing.pem | |
ssh-add -k Turing.pem | |
Launch Instance | |
ubuntu 14.04 |
For this exercise, we're going to use a table of the Presidents of the United States of America.
Let's try out a few things, just to get our hands dirty. We'll use the console in the Chrome developer tools to validate our work.
tr
element.tr
element only.