This file contains hidden or 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
| body { | |
| background-image: url('http://pcmreviews.com/news/wp-content/uploads/2012/01/Red-carpet.jpg'); | |
| background-size: cover; | |
| background-repeat: no-repeat; | |
| background-position: center; | |
| color: white; | |
| font-family: 'Parisienne', cursive; | |
| } | |
| .header{ |
This file contains hidden or 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
| def pig_latin_sentence(sentence) | |
| if sentence[-1] == "." | |
| temp = sentence.split('') | |
| temp.pop | |
| sentence = temp.join('') | |
| end | |
| words = sentence.split(' ') | |
| piggied = [] | |
| words.each do |word| |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>DOM manipulation with jQuery</title> | |
| <!-- Add a link to jQuery CDN here script here --> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
| <script type="text/javascript" src="js/jquery_example.js"></script> |
This file contains hidden or 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
| class BoggleBoard | |
| def initialize (board) | |
| @board = board | |
| end | |
| def create_word(*coords) | |
| coords.map{|coord| @board[coord.first][coord.last]}.join("") | |
| end | |
| def get_row(row) |