Skip to content

Commit

Permalink
update desgin principles
Browse files Browse the repository at this point in the history
  • Loading branch information
vwolfley committed Jan 20, 2024
1 parent 42602a3 commit 7c1f078
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 4 deletions.
56 changes: 53 additions & 3 deletions lesson02/design-principles.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,73 @@ <h2>Vern Wolfley</h2>
<h3>Hick's Law</h3>
</div>
<div class="card-content">

<h2>npm</h2>
<h3><a href="https://www.npmjs.com/">npmjs.com</a></h3>
<img src="images/npm-screenshot.png" alt="npm website" class="responsive-image" />
<p>
Hick's law is a psychological principle which states that the more options are available to a person, the longer it will take
for him or her to make a decision about which option is best. Hick's Law is often applied to emphasize the importance of
simplicity and reduced complexity in the design of menus, navigation, and other interactive elements. According to this law,
the more options you have, the longer it will take you to decide.
</p>
<p>
The npm website effectively applies Hick's Law by simplifying user options to the basics and emphasizing the most important
choice. The navigation bar is minimized and placed on the side, while the central focus is on the search area. Given that most
users are likely searching for a package, the search area becomes the focal point. It features a straightforward design with
just a search box and a button. Since the user can only interact with the search box, their attention is solely on this
element. The search button is simple and bold so it stands out, making it easy for users to quickly locate what they need.
</p>
</div>
</section>

<section class="card">
<div class="card-header">
<h3>Rule of Thirds</h3>
</div>
<div class="card-content">

<h2>esri</h2>
<h3><a href="https://www.esri.com/en-us/home">esri.com</a></h3>
<img src="images/esri-screenshot.png" alt="npm website" class="responsive-image" />
<p>
The rule of thirds serves as a fundamental guideline in web design, aiming to establish visual harmony and balance within the
elements featured on a landing page. The core principle involves positioning key elements within a third of the page, as this
arrangement is deemed more visually appealing than a centralized or zoomed-in placement. Imagine a virtual tic-tac-toe board
superimposed on your viewport, comprising two equally spaced vertical and horizontal lines. These lines effectively divide the
viewport into nine rectangles, with the points where the lines intersect referred to as "rule of thirds" points. In adherence
to this rule, it is recommended to position your primary subject on one of these points or along the lines for optimal visual
impact.
</p>
<p>
Looking at the esri landing page provides a tangible example of the effective application of the rule of thirds. By
strategically utilizing a grid, they have identified areas for negative space and precisely positioned attention-grabbing text
and images. The alignment along both horizontal and vertical lines guides the reader's focus toward the crucial elements on
the page, creating a visually engaging experience that highlights key content.
</p>
</div>
</section>

<section class="card">
<div class="card-header">
<h3>White Space and Clean Design</h3>
</div>
<div class="card-content">

<h2>React</h2>
<h3><a href="https://react.dev/">react.dev</a></h3>
<img src="images/react-screenshot.png" alt="npm website" class="responsive-image" />
<p>
Space is an important and often underrated design element that significantly influences the user experience. Whitespace or
negative space is the area between the elements on a webpage. It can be used to emphasize an image, a graphic, or some text,
all you need to do is leave blank space around the particular item you want users to focus on. This space helps the page to
feel clean and prevents the user from getting distracted. It balances the information and style making the page aesthetically
pleasing and purposeful.
</p>
<p>
The React website has skillfully incorporated whitespace design, by centering its brand for enhance user awareness. This
intentional use of negative space not only draws the user's attention to the central elements but also functions as a subtle
guide. The strategic placement of call-to-action buttons within this whitespace serves a dual purpose, not only capturing the
user's focus but also providing a clear path for navigation. This use of whitespace and clean design in the design of the
React website enhances the user experience, emphasizing both brand identity and intuitive interaction.
</p>
</div>
</section>
</main>
Expand Down
Binary file added lesson02/images/esri-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lesson02/images/npm-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lesson02/images/react-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion lesson02/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ body {
flex-direction: column;
min-height: 100vh;
background-color: #ffffff;
color: var(--primary-color);
font-family: var(--paragraph-font);
font-size: 18px;
font-weight: 400;
Expand Down Expand Up @@ -52,7 +53,7 @@ header {
color: var(--accent4-color);
padding: 25px 50px;
}
header h2{
header h2 {
margin: 0.35em 0;
}

Expand All @@ -78,6 +79,7 @@ main {
flex-direction: column;
border: solid 1px var(--primary-color);
border-radius: 10px;
background-color: rgba(201, 228, 202, 0.5);
}

.card-header {
Expand All @@ -103,6 +105,11 @@ main {
padding: 5px;
}

.responsive-image {
width: 100%;
height: auto;
}

/* Footer */
footer {
display: flex;
Expand Down

0 comments on commit 7c1f078

Please sign in to comment.