Once upon a time, there was a boy named Nick. He was called Nicky for a long time until he blew up one day in Sunday School and from then on was known as Nick.
As a kid, Nick loved playing baseball. It's pretty much the only thing he can remember doing. That and
stealingcollecting baseball cards.
Erin brainstorms on ideas that are both fun and can strengthen her development skills. After all, however she spends her free time at work should be used in a way that becomes helpful for future projects.
She already made quite the effort into fine-tuning her skills with Flexbox, creating functional and accessible code for an organizational chart and a process chart. For Erin's next personal project, she wanted something different. Something with multiple (yet possibly useful) features.
To CodePen.io she went, but not brainlessly! Erin "Oohed" and "Ahhed" at the recently picked pens. She envied the skills of those using compilers she has yet to dabble in. Then she put together a list of what she would like to achieve.
Erin chuckled to herself, "This sounds crazy, but what if I develop a section of text that looks like a book?"
She paused, realizing that what she was about to do was a trend years ago. This severely increased the chance of her project being mocked after launch. What was the specific trend Erin remembered? Skeuomorphism.
an object or feature that imitates the design of a similar artifact made from another material.
Outside of skeuomorphism, the idea actually was not very silly. Erin always had an appreciation towards print work. The thought of mimicking similar designs onto a web interface has always fascinated her. So, why not start with the classic print design of a novel?
She began to jot down a list of elements that are typically in a novel:
- Serif typefaces
- Header area with the title of the book on the left, and the author of said book on the right. Erin is aware that content within the header of the same page as a chapter title does not appear, but she made an exception.
- An adorned chapter title
- A dropcap for the first letter of the first paragraph of the chapter
- Indented paragraphs
- Page numbers
She was then picturing herself making marks on a novel like she used to in school. In her true fashion, she got carried away with "What ifs."
"What if highlighting the text actually looked like a highlighter?"
- "What if I wanted it to be pink?"
- "What if I found
a typoan error in the content and wanted to make a correction?"
- "What if I was viewing this on mobile—"
The true obstacle showed its form. Responsiveness. How on Earth will she make this work?
Erin pulled out her notepad and started sketching. First she began to illustrate the wireframe of the book in its entirety. Then she recorded some notes on how each element would break down as the screen size got smaller. After several minutes, the blueprint was complete. She came to the conclusion that mobile viewing must stay minimal. The pages go away, which makes the page numbers no longer have a function so they must go away, and if those go away then there is no need for a cover since it is used to help hold and protect pages.
She looks back at the blinking cursor of her blank canvas in Sublime Text 2. Doubt begins to linger in the back of her mind with the thought of her new code never being used and her time spent ends up being a waste. Her fingers were typing anyway.
Erin smirked, "Well at least I think it's worth a try."