Color, Sounds, and Motion
.docx
keyboard_arrow_up
School
Southern New Hampshire University *
*We aren’t endorsed by this school
Course
319
Subject
Computer Science
Date
Feb 20, 2024
Type
docx
Pages
4
Uploaded by UltraCamelMaster345
Raphael Tolentino
CS-319
Prof. Tirrell
12 Nov 2023
Color, Sounds, and Motion
Color plays an important role in enabling developers to place importance in a particular area. For example, warmer colors, particularly red, usually get the attention of users quickly so it would be useful as a way to warn users of critical information such as an allergen alert/warning. Additionally, it can convey feedback. Take the example of a hyperlink: the link is light blue when the user has yet to click on the link, however, it turns purple when it is clicked on indicating that the user has already visited the link before. Developers and UI/UX designers will have to watch out for the overuse of colors. It should be used in areas where we want to highlight or draw attention to, and we should have very good reason to use them. Additionally, we need to be consistent in our use of color to avoid confusion. As Apple’s guide to implementing colors state, “using a color other than [what’s conventionally used] can be confusing.” (Apple, 2023).
Developers can use colors to guide how users interact with their applications. For example, colors convey hierarchy by indicating, ”
which elements are interactive, how they relate
to other elements, and their level of prominence.” (The Color System, n.d.). We can use visually contrasting elements to highlight where we want our users to focus their attention. This means we should highlight areas of our application that will let users achieve their goals the quickest. An example would be the Google home page. It only has one function and that is the search bar. A colorful Google logo sits atop the prominent search bar, instantly drawing attention to the
search bar whilst bringing attention to the company name. In Dark Mode, the Google logo is in white bold text and everything else is dark, luring the user’s eyes without the use of any color. We should keep this principle of contrasting elements in mind when we design UI/UXs.
By learning the design principles behind the use of color, I can apply it to the current app we’re developing. For example, in my prototype UI, I’ve placed emphasis on an allergen alert at the very top of the page that will be in a warm color, most likely either orange or red. Additionally, at the bottom left of the screen, users will be able to view their saved items and achievements and this will be in a yellow or similarly flashy color. Next, the ingredients themselves will be listed in green for healthy, orange for caution, and red for unhealthy. Using these minimal pops of color should guide my users in the areas I want to highlight, especially critical information like allergen and food safety.
While colors provide the lift for most of the user interaction with the application, we should not forget how sound can play an important role in refining the user experience. Sounds should provide appropriate feedback to user actions, therefore creating another way to deliver information about user actions. For example, tapping a button usually comes with sound feedback so we don’t have to bombard our users with changes in color as previously mentioned. "These sounds are called earcons
, and they can represent information, actions, or events. Their sound can reinforce both the meaning of an interaction and a product’s aesthetic, emotion, and personality.” Additionally, there are decorative sounds and hero sounds. Hero sounds are usually used, “to highlight an important moment, evoke an emotion, or express celebration.” (Applying Sound to UI, n.d.).
Even though sound can be an effective tool to convey feedback on user actions, we should be wary of using too much decorative sounds. Decorative sounds are used to “amplify an
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
A02-02
Create a webpage A2-Task2.html.
The webpage is displaying one image. Each time the user moves the mouse out of the image, the image is
changed to another one and one more 'sun' emoji is displayed under the image. When the number of 'suns'
reaches seven (7), all suns are deleted (reset) and start to be displayed again. For example, the 8th time user
moves the mouse out of the image, one 'sun' is shown, the 9th time - two 'suns', and so on.
Note:
- You should use two images. Each time the user moves the mouse out of the image, the image is changing. If
an image of "Winter" is displayed it will change to "Summer", and opposite, if an image of "Summer" is
displayed it will change to "Winter".
The special character code for the 'sun' is "☀".
-
Put the source code of your website A2-Task2.html here.
Make sure you also upload the A2-Task2.zip of all files below.
arrow_forward
JavaScript
arrow_forward
language: HTML
Create a responsive webpage for food items. there are three requirements
1: when the user hovers over the item name ('item 1') the details of the item should be displayed. the text should return back to the original (aka from the food description to the food name ) after the mouse pointer moves away
2. When the user clicks 'add to cart' for an item, the 'cart total' is updated, and the button to add the item to the cart is disabled so that it cannot be added twice.
3. the user can input an amount into the 'confirm purchase' section and click the button. If the amount is less than the 'cart total', the following alert should be shown:
"payment amount is less than cart total"
otherwise:
"payment complete"
arrow_forward
HTML PROJECT
arrow_forward
Illustrate how an event can be handled on to the button and on the link?
arrow_forward
CSS , Javascript
A game with blocks
Make a simple game that takes place on a 3 × 3 grid as shown on the below image. Blocks are denoted by letters from A to H and are initially shuffled. The player can drag a chosen block to the empty field. Only one block can reside on a field at any time. When blocks are sorted alphabetically A – H the game is finished.
sample code:<!DOCTYPE html><html>
<title>Boxes</title>
<style>
.box {display: flex;float: left;width: 100px;height: 100px;border: 2px solid red;justify-content: center;align-items: center;margin: 5px;}.item {
display: flex;width: 90px;height: 90px;background-color: seagreen;justify-content: center;align-items: center;font-size: 50px;color: yellow;user-select: none;}
</style>
<script>
function itemDragStart(event) {console.log("Dragging", event.target.id);event.dataTransfer.setData("text", event.target.id);}
function itemDragOver(event) {var targetBox = event.target;console.log("drag over",…
arrow_forward
JavaScript
Create a non-predictive T9-like keypad. For those who do not know what a T9 keypad is, it is essentially a more compact keyboard for mobile phones that requires you to perform multi-presses to choose letters you want to spell your words with (technology that may be older than some of students). If you are unfamiliar with the user interface, use the following shell in an html file to get a sense of what it looked like on older mobile phones:
// html
T9 Keypad
abc
def
ghi
jkl
mno
pqrs
tuv
wxyz
How it functions for the assignment:
If a button contains a letter you want to type, click on the button N number of times associated to the order the letters are in. So if you wanted "c", you push the second button 3 times.
If you push the button more than the number of letters in the button, it will wrap-around and return the letter after. For example, clicking the first button (that has letters a, b, and c) 5 times returns "b".
The input field only appends the letter to once…
arrow_forward
How can a hyperlink tag structure be tested without clicking on it?
arrow_forward
Hands-On Project 1-3In this project, you will explore how to write text to a specific element in your web page in response to theonclick event handler. To complete the exercise, you will apply the following JavaScript expression:document.getElementById('id').innerHTML = 'text';where id is the value of the id attribute for the page element and text is the text of the content to be writteninto the element. You will use this expression to enhance a web form by displaying the message “Thank you foryour order” when the user clicks the Submit button. Figure 1-25 shows the completed web page.Do the following:1. Use your code editor to open project01-03_txt.html from the HandsOnProject_01 folder. Enter your name and the date in the comment section of the document and save it as project01-03.html.2. Scroll down to the bottom of the file and locate the input element for the Submit button.3. Add an onclick event handler to the <input> tag that changes the innerHTML value of the page element…
arrow_forward
JavaScript all design notvsame as web page remember that. Allala
Write the code necesary in javascript to create a webpage that contains a contact form like the one in the attatched picture.
To create and style this form, copy the following HTML and CSS code exactly as follows:
HTML:
<form><label for="myName">Name:</label><input type="text" name="myName" id="myName"><label for="myEmail">E-mail:</label><input type="text" name="myEmail" id="myEmail"›<label for="myComments">Comments:</label><textarea name="myComments" id="myComments" rows="2" cols="20"></textarea><input id="mySubmit" type="submit" value="Submit"›</form>
CSS:
form { background-color:#eaeaea;font-family: Arial, sans-serif;padding: lOpx; }label { float: left;width: 100px;clear: left;text-align: right;padding-right: lOpx;margin-top: lOpx; }input, textarea { margin-top: lOpx;display: block; }#mySubmit { margin-left: 110px; }.
arrow_forward
I need help/advice for this assignment I'm working on. Small bits of codes as visual examples are appreciated.
If I want to create a user profile using HTML in Ruby on Rails/Visual Studio, do I need to make a separate controller model in order to add the controller actions for that page? In addition, if I want to allow a user to edit their own profile info, what are the steps to do so? I'm thinking of adding an edit button to the user's page which takes them to another page that'll allow them to edit. Once the user is finish filling out their new info, they can click on a back button to go back to their profile page displaying their new username, bio, etc.
arrow_forward
Getting Bigger.pdf
PDF
O File | C:/Users/19377/Downloads/Getting%20Bigger.pdf
+
Purpose
To review more advanced aspects of user interfaces and event handlers
Directions
Create an interface for a program that looks like the one in the first image below.
Then add an event handler to the JSlider that changes the font size of the text in the
JTextArea according to the value on the slider, as illustrated in the second image.
Note: These directions are intentionally vague. Use the internet and whatever other
resources you have available to try to piece together how to do this. Be sure to cite
any sources you use as comments in your code.
Text Decorator
Type here..
Font Size:
25
50
75
100
Text Decorator
Type here...
Туре
Font Size:
25
50
75
100
11:35 AM
e Type here to search
28°F Cloudy
2/23/2022
(8)
arrow_forward
In Css, How Do You Make A Page Break After A Html Element?
arrow_forward
In JavaScript create a program with the following parameters:
Create an HTML page leaving the space between the <body> and </body> tags open.
In the Title type a descriptive name
Between the <body> and </body> tags add the <script> and </script> tags.
Create a variable named myheading and give it this value: This is My Web Page!
Create a variable named linktag and give it this value: SMC website and with a link to this text.
Create a variable named Introtext and give it this value: See below for odd numbers stars.
Create a variable named begineffect and give it the value: <strong>.
Create a variable named endeffect and give it the value </strong>.
Create a variable named beginpara and give it the value <p>.
Create a variable named endpara and give it the value </p>.
Place all of the variable definitions into a single var statement so that you do not need to keep repeating the var keyword remember to end the last line…
arrow_forward
Instructions for DIAGRAMS You are to use draw.io for diagrams and you are to share the link for each question.
Instructions for CODES Use a text editor of your choice to code and test your code there before pasting it here.
Instructions for SCREENSHOTS Put your screenshots in a PDF file, save it in your Google Drive and send me the link.
Part 1.
1. Design a UML class Book with at least 3 attributes and 2 methods. On top of the provided methods, you are to create your 2 overloaded __init__() methods (look at the next question). Use proper Python Naming convension.
Link here:
2. Based on the given UML in item 1. Create a Python class that contains all the declered attributes and methods from the UML. Also include two (2) __init__() methods. The first one should provide a default value for the object: ie: an empty string, while the second __init__() method should be able to accept parameters for object initialization.
3. Instantiate / Create 2 objects, the first one should use the…
arrow_forward
Follow only code).
arrow_forward
Design HTML Form in javascriptApply the data validation :1. Mobile number field data must be a numeric data and not less than 8 digits,2. The email field must accept the data which must contain the character '@' and dot (.). Andthe character @ must not be the first character and the last dot must at least be onecharacter after the @.On submitting the form, If all these validations are followed, another Html page.
arrow_forward
Web Development:
You are required to create a simple six-page website using HTML5 and CSS3. This project should include Javascript or a JS Library/Framework.
FrameworkUse a CSS framework such as Foundation, Bootstrap, Tailwind CSS, UiKit, Bulma etc.
FontsYour fonts must be one of the following sets.
Baloo with Montserrat
Amaranth with Open Sans
Palanquin with Roboto
Sansita with Open Sans
Playfair Display and Fauna One
Type Scale
Augmented Fourth
Colour Scheme options
Choose one of the following options
https://coolors.co/palette/ff9f1c-ffbf69-ffffff-cbf3f0-2ec4b6
https://coolors.co/palette/555b6e-89b0ae-bee3db-faf9f9-ffd6ba
https://coolors.co/palette/ff6700-ebebeb-c0c0c0-3a6ea5-004e98
https://coolors.co/palette/6b9080-a4c3b2-cce3de-eaf4f4-f6fff8
Digital Asset
Must include at least two (2) video assets
Must include at least six (6) image assets ( at least one must be *.webp. )
No less than three javascript elements such as on demand header, show hide div etc.
Site…
arrow_forward
Good morning hmtl css and javascript experts I would like some code that tracks a user's location by asking them permission to access their location and display it on google maps. so whenever the user moves from point a to b there should be some notification to say that the user has changes location.
arrow_forward
Ir a block of CSS follows the definition p figure{, to which elements does the
block apply?
Group of answer choices
All tags
tags found within tags
tags found within tags
All tags and all tags
arrow_forward
Create a webpage A2-Task2.html.
The webpage is displaying one image. Each time the user clicks the image, the image is changed to another one and one more
'globe' emoji is displayed under the image. When the number of 'globes' reaches five (5), all 'globes' are deleted (reset) and start to
be displayed again. For example, the 6th time user clicks the image, one 'globe' is shown, the 7th time - two 'globes', and so on.
Note:
- You should use two images. Each time the user clicks on the image, the image is changing. If an image of "Seaside" is displayed it
will change to "Mountain view", and opposite, if an image of "Mountain view" is displayed it will change to "Seaside".
- The special character code for the 'globe' is "🌏".
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Related Questions
- A02-02 Create a webpage A2-Task2.html. The webpage is displaying one image. Each time the user moves the mouse out of the image, the image is changed to another one and one more 'sun' emoji is displayed under the image. When the number of 'suns' reaches seven (7), all suns are deleted (reset) and start to be displayed again. For example, the 8th time user moves the mouse out of the image, one 'sun' is shown, the 9th time - two 'suns', and so on. Note: - You should use two images. Each time the user moves the mouse out of the image, the image is changing. If an image of "Winter" is displayed it will change to "Summer", and opposite, if an image of "Summer" is displayed it will change to "Winter". The special character code for the 'sun' is "☀". - Put the source code of your website A2-Task2.html here. Make sure you also upload the A2-Task2.zip of all files below.arrow_forwardJavaScriptarrow_forwardlanguage: HTML Create a responsive webpage for food items. there are three requirements 1: when the user hovers over the item name ('item 1') the details of the item should be displayed. the text should return back to the original (aka from the food description to the food name ) after the mouse pointer moves away 2. When the user clicks 'add to cart' for an item, the 'cart total' is updated, and the button to add the item to the cart is disabled so that it cannot be added twice. 3. the user can input an amount into the 'confirm purchase' section and click the button. If the amount is less than the 'cart total', the following alert should be shown: "payment amount is less than cart total" otherwise: "payment complete"arrow_forward
- HTML PROJECTarrow_forwardIllustrate how an event can be handled on to the button and on the link?arrow_forwardCSS , Javascript A game with blocks Make a simple game that takes place on a 3 × 3 grid as shown on the below image. Blocks are denoted by letters from A to H and are initially shuffled. The player can drag a chosen block to the empty field. Only one block can reside on a field at any time. When blocks are sorted alphabetically A – H the game is finished. sample code:<!DOCTYPE html><html> <title>Boxes</title> <style> .box {display: flex;float: left;width: 100px;height: 100px;border: 2px solid red;justify-content: center;align-items: center;margin: 5px;}.item { display: flex;width: 90px;height: 90px;background-color: seagreen;justify-content: center;align-items: center;font-size: 50px;color: yellow;user-select: none;} </style> <script> function itemDragStart(event) {console.log("Dragging", event.target.id);event.dataTransfer.setData("text", event.target.id);} function itemDragOver(event) {var targetBox = event.target;console.log("drag over",…arrow_forward
- JavaScript Create a non-predictive T9-like keypad. For those who do not know what a T9 keypad is, it is essentially a more compact keyboard for mobile phones that requires you to perform multi-presses to choose letters you want to spell your words with (technology that may be older than some of students). If you are unfamiliar with the user interface, use the following shell in an html file to get a sense of what it looked like on older mobile phones: // html T9 Keypad abc def ghi jkl mno pqrs tuv wxyz How it functions for the assignment: If a button contains a letter you want to type, click on the button N number of times associated to the order the letters are in. So if you wanted "c", you push the second button 3 times. If you push the button more than the number of letters in the button, it will wrap-around and return the letter after. For example, clicking the first button (that has letters a, b, and c) 5 times returns "b". The input field only appends the letter to once…arrow_forwardHow can a hyperlink tag structure be tested without clicking on it?arrow_forwardHands-On Project 1-3In this project, you will explore how to write text to a specific element in your web page in response to theonclick event handler. To complete the exercise, you will apply the following JavaScript expression:document.getElementById('id').innerHTML = 'text';where id is the value of the id attribute for the page element and text is the text of the content to be writteninto the element. You will use this expression to enhance a web form by displaying the message “Thank you foryour order” when the user clicks the Submit button. Figure 1-25 shows the completed web page.Do the following:1. Use your code editor to open project01-03_txt.html from the HandsOnProject_01 folder. Enter your name and the date in the comment section of the document and save it as project01-03.html.2. Scroll down to the bottom of the file and locate the input element for the Submit button.3. Add an onclick event handler to the <input> tag that changes the innerHTML value of the page element…arrow_forward
- JavaScript all design notvsame as web page remember that. Allala Write the code necesary in javascript to create a webpage that contains a contact form like the one in the attatched picture. To create and style this form, copy the following HTML and CSS code exactly as follows: HTML: <form><label for="myName">Name:</label><input type="text" name="myName" id="myName"><label for="myEmail">E-mail:</label><input type="text" name="myEmail" id="myEmail"›<label for="myComments">Comments:</label><textarea name="myComments" id="myComments" rows="2" cols="20"></textarea><input id="mySubmit" type="submit" value="Submit"›</form> CSS: form { background-color:#eaeaea;font-family: Arial, sans-serif;padding: lOpx; }label { float: left;width: 100px;clear: left;text-align: right;padding-right: lOpx;margin-top: lOpx; }input, textarea { margin-top: lOpx;display: block; }#mySubmit { margin-left: 110px; }.arrow_forwardI need help/advice for this assignment I'm working on. Small bits of codes as visual examples are appreciated. If I want to create a user profile using HTML in Ruby on Rails/Visual Studio, do I need to make a separate controller model in order to add the controller actions for that page? In addition, if I want to allow a user to edit their own profile info, what are the steps to do so? I'm thinking of adding an edit button to the user's page which takes them to another page that'll allow them to edit. Once the user is finish filling out their new info, they can click on a back button to go back to their profile page displaying their new username, bio, etc.arrow_forwardGetting Bigger.pdf PDF O File | C:/Users/19377/Downloads/Getting%20Bigger.pdf + Purpose To review more advanced aspects of user interfaces and event handlers Directions Create an interface for a program that looks like the one in the first image below. Then add an event handler to the JSlider that changes the font size of the text in the JTextArea according to the value on the slider, as illustrated in the second image. Note: These directions are intentionally vague. Use the internet and whatever other resources you have available to try to piece together how to do this. Be sure to cite any sources you use as comments in your code. Text Decorator Type here.. Font Size: 25 50 75 100 Text Decorator Type here... Туре Font Size: 25 50 75 100 11:35 AM e Type here to search 28°F Cloudy 2/23/2022 (8)arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education