< 01 / code like a boss />
by relationship one
info@relationshipone.com
Code
Like a
Boss
CHAPTER 1:
CODING LANGUAGE CLIFFSNOTES
Can you keep a secret?
Lean in. It’s pretty juicy. Like many developers, I started
out in a non-related field. Sure, some developers get on
the fast track—hacking and coding in high school, then
going to technical or four-year colleges for degrees in
computer science or web development. Me? I took a
roundabout way and started with a bachelor’s degree in
English.
During one particularly stressful semester, I was slogging
through some classic German literature, and nothing was
clicking. The paper deadline was tight, I was overwhelmed
and I got desperate. In a
moment of weakness, I did the
unthinkable: I reached for the
CliffsNotes. *Gasp!* I know.
Not my proudest moment.
But, we’ve all been there,
right? *Ahem*…RIGHT?
(Okay, just lie and say you
have. It’ll make me feel better.)
If you’re a marketer and have
ever worked with emails,
forms or landing pages,
you’ve probably had some exposure to HTML, CSS,
maybe even JavaScript. And in that time, you’ve most
likely had moments of desperation—where something’s
not working and you don’t know how to fix it. At some
point, you’ve probably felt overwhelmed, confused or
helpless. Don’t sweat it!
At Relationship One, I work with the industry’s smartest
marketers, and have learned about some of their common
coding needs and pain points.
But, before we open the floodgates, we need a
foundational understanding of each language. Now,
there’s a lot of ground to cover here, but you’re busy. You
don’t have time for a lengthy, deep-dive approach. This
is the “CliffsNotes” version, baby! And you don’t have to
feel bad about it.
/>
HTML: HyperText Markup Language
HTML is composed of a series of markup tags, and each
tag describes a different type of content. For instance,
there are tags for paragraphs, headers, tables, images,
links, etc. To use an analogy, building an email or landing
page is sort of like building a house. Now, I don’t know
much about building houses, but I do know that it’s
important to start with a good foundation. The same
goes for your email or landing page. Think of HTML as
your house structure: the foundation,
studs, beams, joists, etc. Your house can’t
stand without these elements, and they
are essential to a solid structure. HTML is
a set of building blocks that defines what
elements are going to be in your email or
landing page.
CSS: Cascading Style Sheets
Our house is framed up with a foundation,
walls and a roof. It’s structurally sound, but
it’s not much to look at. Enter CSS. We
use CSS to customize our layout and add
style to our elements. In our house analogy, CSS would
be the paint color, type of siding, carpet type/color, and
flooring -- things that create the look and feel of your
house. For emails and landing pages, you can use CSS to
change the page layout, add colors, format text, create
responsiveness (for tablet/mobile), add animation, and
more.
JS: JavaScript
Our house is looking good! There’s paint on the walls,
carpeted floors, trim around the windows, etc. But
how should our house function? How are we going to
interact with our house? This is where JavaScript comes
html css js