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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Nicholas Olds</title> | |
</head> | |
<body> | |
<header> | |
<h1>Nicholas Olds</h1> | |
<p>nolds9@yahoo | (410) 897-7223 | github.com/nolds9</p> | |
</header> |
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
// What is the return value of the below code sample? Provide a sentence or two of explanation. | |
typeof( 15 ); | |
* 'number', 15 is an integer. | |
// What is the return value of the below code sample? Provide a sentence or two of explanation. | |
typeof( "hello" ); | |
*'String'', there are characters between quotes. |
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
# Output HTML boilerplate code to a file name specified by the first argument | |
# If no arguments are provided, outputs to index.html | |
# example: | |
# html_boilerplate example.html | |
html_boilerplate() { | |
local name="$1" | |
if [[ $name ]]; then | |
[[ $name != *.html ]] && name+=.html |