diff --git a/lesson02/design-principles.html b/lesson02/design-principles.html index 12da8f1..119dae6 100644 --- a/lesson02/design-principles.html +++ b/lesson02/design-principles.html @@ -21,23 +21,73 @@

Vern Wolfley

Hick's Law

- +

npm

+

npmjs.com

+ npm website +

+ 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. +

+

+ 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. +

+

Rule of Thirds

- +

esri

+

esri.com

+ npm website +

+ 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. +

+

+ 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. +

+

White Space and Clean Design

- +

React

+

react.dev

+ npm website +

+ 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. +

+

+ 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. +

diff --git a/lesson02/images/esri-screenshot.png b/lesson02/images/esri-screenshot.png new file mode 100644 index 0000000..b8b3997 Binary files /dev/null and b/lesson02/images/esri-screenshot.png differ diff --git a/lesson02/images/npm-screenshot.png b/lesson02/images/npm-screenshot.png new file mode 100644 index 0000000..bcf2f2e Binary files /dev/null and b/lesson02/images/npm-screenshot.png differ diff --git a/lesson02/images/react-screenshot.png b/lesson02/images/react-screenshot.png new file mode 100644 index 0000000..5208221 Binary files /dev/null and b/lesson02/images/react-screenshot.png differ diff --git a/lesson02/styles/base.css b/lesson02/styles/base.css index 4e269b3..636fdc1 100644 --- a/lesson02/styles/base.css +++ b/lesson02/styles/base.css @@ -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; @@ -52,7 +53,7 @@ header { color: var(--accent4-color); padding: 25px 50px; } -header h2{ +header h2 { margin: 0.35em 0; } @@ -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 { @@ -103,6 +105,11 @@ main { padding: 5px; } +.responsive-image { + width: 100%; + height: auto; +} + /* Footer */ footer { display: flex;