Sandy

Hi! My name is Nora and this is:

My super awesome code samples!

Featuring JavaScript and CSS

Coded with ✨Zest✨

Snippets - About

This website is for the showcasing of various samples of code across languages and modern web frameworks. Feel free to scroll and browse around :]

Accessibility

Upon page load, hit the tab key to view the “Skip to main content” bar for screen readers.

This page is set for the link to jump to the section further down the page with the title “The Main Content”.

Semantic HTML

Header Code

The code displayed in the below embedded CodePen is the same HTML used in the header.php file on this website. It has been edited to remove the PHP and be only raw HTML.

See the Pen Semantic HTML - Header by Nora Krane (@Nora-Krane) on CodePen.

Footer Code

The code displayed in the below embedded CodePen is the same HTML used in the footer.php file on this website. It has been edited to remove the PHP and be only raw HTML.

See the Pen Semantic HTML - Footer by Nora Krane (@Nora-Krane) on CodePen.

CSS

The code displayed in the below embedded CodePen is the same CSS used for the title and accordion components on this website. Working examples of the components can be seen below the embedded box.

See the Pen Untitled by Nora Krane (@Nora-Krane) on CodePen.

A Handy Title Component

Accordion Component

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

 

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

JavaScript

The JavaScript code is a sample of some functionality that I reuse frequently. Some of it is jQuery but a lot of what’s sampled is mostly Vanilla JavaScript.

See the Pen JavaScript by Nora Krane (@Nora-Krane) on CodePen.

Design/QA

When it comes to design aesthetic in a website, there are many times where I would sit down directly with the graphic designer and adjust various values (colors, spacing, line height, font sizes, image widths etc) at their direction. That was mostly from when I worked in an office, because for remote it’s a little different. Now, I will make adjustments to the code and push it up to a staging site via git. Then the graphic designer and/or project manager would go back and fourth with me on any adjustments they wanted to make. That would happen more when there wasn’t a design file I was working from and it was more of a “build this and let’s style it with the existing branding then adjust it after” project. On some projects, I am able to design the mobile views as content naturally stacks on smaller screens. This is usually the case when the design file doesn’t include a pre-designed tablet or mobile layout or there isn’t a pre-existing design file.

Next.js App - React

Linked below is a Next.js Logging App, deployed using Vercel.

The app randomly generates a random number of log entries of 3 types: info, warning, and error.

Each entry also has a message with a random number of words from a list. When run locally, there is a log file also that can be generated and written to.

PHP

The Main Content

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.