Professional Documents
Culture Documents
Web Design Visual Aspect key points include: A refer to the data simply by naming the container -
site map of pages. - False ?; Design Plan True
Helping people not to see the results of their A function is a group of reusable code which can be
actions, is one of the important functions in using called anywhere in your program. This eliminates
micro-interaction - False; helping people to see the need of writing the same code again and again.
Most of the type principles that apply to avoid using It helps programmers in writing modular code. -
text as graphics - True True
Most of the type principles that apply to : design for For instance, you might create a variable named
Fancy - False; legibility money and assign the value 2000.50 to it later. For
Most of the type principles that apply to : do not another variable, you can assign a value at the time
avoid using text as graphics - False; avoid of initialization - True
Web Design Visual Aspect includes : Accessibility - The value type of a variable can change during the
True execution of a program and JavaScript takes care
There are four elements will help you start of it automatically - True
improving your site’s usability and UX right away. -
True Are Java and JavaScript not the same? - True
Communicating status and providing feedback, is The script tag provides a mechanism to allow you
one of the important functions in using micro- to store JavaScript in an external file and then
interaction - True include it into your HTML files. - True
Manipulate images and text to re-create a best The break statements indicate the end of a
practice advertisement in creating a website - particular case. If they were omitted, the interpreter
False; PowerPoint would continue executing each statement in each
An animation is not a good example of micro- of the following cases - True
interaction - False; good JavaScript variable can hold a value of any data
type - True
Human-visible listings, typically hierarchical, of the You can do variable initialization at the time of
pages on a site, is one of the primary kinds of site variable creation or at a later point in time when you
map? - True need that variable. - True
In Type Design Principles, you cannot consider to The ...else if... statement is an advanced form of
choose fewer fonts and sizes - False; can if…else that allows JavaScript to make a correct
You can use the space around content (it can be decision out of several conditions. - False; if...else
any color, not just white) to draw attention to certain if…
pieces of content - True
Most of the type principles that apply to do not use SUPPLEMENTARY
available fonts - False; use Web designing has direct link to visual aspect of a
Most of the type principles that apply to design for web site.
legibility - True
In a system-initiated trigger, software detects
certain qualifications are being met and initiates a
request - False; action
In a user-initiated trigger, the user has to initiate an
action - True
UI (User Interface)
UI refers more to the appearance or presentation of
a website than the way someone
might use it, including colors, layout, typography,
and other design elements. DECLARING JAVASCRIPT VARIABLES
A website with good UI will:
• Be aesthetically pleasing
• Have an attractive color scheme
• Employ typography that is pleasant to look at and
easy to read
• Feature a balanced, uncluttered layout with
adequate white space
• Use a clear visual hierarchy to show visitors
where they are on the site
• Utilize design elements that are familiar to users
so they know how to complete their
desired actions
MULTIPLE VARIABLES
HOW UX AND UI WORK TOGETHER
To fully understand the relationship between
website UI and UX, it may be helpful to think of a
website like a human body. The body’s UI is its
appearance: size, shape, clothing, cosmetics,
anything that makes up the overall visual
impression of the person. The UX is what’s going
on under the skin: the organs and systems of the
body and how they function to keep the person JAVASCRIPT DATA TYPES
alive and healthy.
TYPEOF OPERATOR
The typeof operator is a unary operator that is
placed before its single operand, which can be of
any type. Its value is a string indicating the data
type of the operand.
MISCELLANEOUS OPERATOR
We will discuss two operators here that are quite SAMPLE CODE
useful in JavaScript: the conditional operator (? :)
and the typeof operator
Conditional Operator (? :) - The conditional
operator first evaluates an expression for a true or
false value and then executes one of the two given
statements depending upon the result of the
evaluation.
? : (Conditional ) - If Condition is true? Then value
X : Otherwise value Y
SAMPLE CODE
JAVASCRIPT FUNDAMENTALS
JavaScript is a lightweight, interpreted
programming language. It is designed for creating
network centric applications. It is complimentary to
and integrated with Java. JavaScript is very easy to
implement because it is integrated with HTML. It is
open and cross platform.
Why to Learn JavaScript
Javascript is a MUST for students and working
professionals to become a great Software Engineer
specially when they are working in Web
Development Domain. I will list down some of the document. In this case, you would not have any
key advantages of learning Javascript: function defined using JavaScript.
JavaScript provides full control to handle loops and The do...while loop is similar to the while loop
switch statements. There may be a situation when except that the condition check happens at the end
you need to come out of a loop without reaching its of the loop. This means that the loop will always be
bottom. There may also be a situation when you executed at least once, even if the condition is
want to skip a part of your code block and start the false.
next iteration of the loop. Syntax:
To handle all such situations, JavaScript provides The syntax for do while loop in JavaScript is as
break and continue statements. These statements follows
do {
are used to immediately come out of any loop or to Statement(s) to be executed;
start the next iteration of any loop respectively. } while (expression);
Function Definition
Before we use a function, we need to define it. The
most common way to define a function in
JavaScript is by using the function keyword,
followed by a unique function name, a list of
parameters (that might be empty), and a statement
block surrounded by curly braces.