Hello and welcome to my new website.  You are now in the blog section where I will attempt to share my thoughts, experiences and discoveries in all things code.  I’ll do my best to be as clear and thorough as possible.

Here’s a breakdown of some of the stuff you might see.

Preformatted Text

Typographically, preformatted text is not the same thing as code. Sometimes, a faithful execution of the text requires preformatted text that may not have anything to do with code. Most browsers use Courier and that’s a good default — with one slight adjustment, Courier 10 Pitch over regular Courier for Linux users. For example:

“Beware the Jabberwock, my son!
    The jaws that bite, the claws that catch!
Beware the Jubjub bird, and shun
    The frumious Bandersnatch!”
Code

Code can be presented inline, like <?php bloginfo('stylesheet_url'); ?>, or within a <pre> block. Because we have more specific typographic needs for code, we’ll specify Consolas and Monaco ahead of the browser-defined monospace font.

HTML
<div class="foo">
   <h3 class="__bar">Hello World!</h3>
</div>
SCSS
#container {
	float: left;
	margin: 0 -240px 0 0;
	width: 100%;
}
JS
$(this).addClass('foo__bar);

Leave a Reply

Your email address will not be published. Required fields are marked *