2. Student Presentations
Present portfolio mockups
Walk us through the flow (homepage, detail, about)
What types of work will you be showing?
Any special interactions that you need to work out?
Will you be able to code this by the end of the course?
3. What is a javascript?
JavaScript (sometimes abbreviated JS) is a scripting
language commonly implemented as part of a web
browser in order to create enhanced user interfaces
and dynamic websites.
Javascript is a client-side programming language,
which means that it resides on the client’s machine
and not on the server (in your browser).
5. Every script is made up of a series of statements.
<script>
first statement;
second statement;
</script>
6. A JavaScript function is a "recipe" of instructions
(i.e., statements or commands) whose purpose is
to accomplish a well-defined task.
<script>
function square (number)
{
var result = number * number;
return result;
}
</script>
7. Variables in JavaScript are similar to the variables
you may have studied in high school algebra. You
can think of variables as "holding places" where
values are stored and retrieved.
<script>
greeting = "Hello";
greeting = greeting + ", my friend.";
</script>
8. Where does javascript go?
Javascript is usually typed in the <head>
element, in a linked .js file, or both.
9. Where does javascript go?
Javascript is usually typed in the <head>
element, in a linked .js file, or both.
12. What is a jquery?
jQuery is a multi-browser JavaScript library designed to
simplify the client-side scripting of HTML.
“Library” in this contexts means a group of javascript
functions (which you might see referred to as methods)
that you can access and run on your page with very little
coding.
jQuery is javascript, but it uses it’s own “selector engine”
that is very designer friendly. A “selector engine” is just
the way that you reference elements in your html in order
to make the do something. jQuery uses CSS selectors,
which you already know how to use!
13. Where does jquery go?
The jquery library is linked from the
<head> document. You can download the
jquery file from jquery.com, or link to the
Google version. It should go below your
CSS, but above any scripts or plugins.