Read “Chapter 4 – Working With Words, Numbers and Dates” from “Javascript: The Missing Manual”.
Tutorial – Page 146 (name your file “yourlastname_ch4_tutorial.html” and any associated files) o It would be a great idea to try out some of the other code that the author talks about in this chapter.
EXTRA CREDIT if you turn in a file that shows how you used some of the examples (or created some of your own). Name this file “yourlastname_ch4_extracredit.html”.
4. Work on your project website: o Create a sitemap/flow chart of the entire site. o Select your color palette. Be sure to include the RGB and Hex values of the colors. (You should turn this in
in JPG or PDF format. No Illustrator or Photoshop files!) o Select the basic fonts you will use for each element/level of information hierarchy on your site. (Turn this in
in JPG or PDF format. No Illustrator or Photoshop files!) o Create a comp for the homepage of the site. (JPG or PDF format only. No Illustrator or Photoshop files!) o Start gathering content – both text and images. Be sure to have at least the content complete for one page
by next week, since you will use it in the labs.
Showing posts with label Homework Assignments. Show all posts
Showing posts with label Homework Assignments. Show all posts
Tuesday, April 26, 2011
Wednesday, April 13, 2011
Homeworks
Read “Chapter 3 – Adding Logic and Control to Your Programs” from “Javascript: The Missing
Manual”. A PDF of this chapter is located on the class website (listed above).
• Take notes on the reading.
• Do the following tutorials from Chapter 3. For each tutorial, create a separate file , named
as indicated below. (You may create your own file, or you can use the UNFINISHED versions
of the files that you can download from the book website.)
NOTE: Please type out the code yourself. You need the practice! DO NOT simply cut and
paste the code from the download site into your files. You will learn nothing, not understand
the concepts, and will probably fail the class. DO THE WORK, and you’ll learn it!
o Using Conditional Statements – pg 86 (lastname_conditional.html + js files as
needed)
o Do/While – revise earlier tutorial – pg 96 (lastname_do.html + js files as needed))
o Mini‐Tutorial (on Functions) – pg 99 (lastname_minitut.html + js files as needed))
o A Simple Quiz – pg 106 (lastname_quiz.html + js files as needed))
-----------
var input = prompt('How much money do you have to spend on lunch at Disneyland?');
var cash = Number(input);
if (cash == 2 && cash < 3 ) {
document.write("Vending Machine Soda") }
else if (cash >= 3 && cash < 5 ) {
document.write("You can get a Churro") }
else if (cash >=5 && cash < 10) {
document.write("Kids Hamburger from Tomorrowland Terrace") }
else if (cash >=10 && cash < 20) {
document.write("Chicken Basket from Frontierland")}
else if (cash >=20) {
document.write("Goofy's Kitchen")}
else if (cash <2) {
document.write ("get more money")}
else {
document.write ('<p>You entered ' + input + ' You did not enter the dollar amount correctly.</p><p>For example: If you have $5.22, please simply enter 5.22')}
Manual”. A PDF of this chapter is located on the class website (listed above).
• Take notes on the reading.
• Do the following tutorials from Chapter 3. For each tutorial, create a separate file , named
as indicated below. (You may create your own file, or you can use the UNFINISHED versions
of the files that you can download from the book website.)
NOTE: Please type out the code yourself. You need the practice! DO NOT simply cut and
paste the code from the download site into your files. You will learn nothing, not understand
the concepts, and will probably fail the class. DO THE WORK, and you’ll learn it!
o Using Conditional Statements – pg 86 (lastname_conditional.html + js files as
needed)
o Do/While – revise earlier tutorial – pg 96 (lastname_do.html + js files as needed))
o Mini‐Tutorial (on Functions) – pg 99 (lastname_minitut.html + js files as needed))
o A Simple Quiz – pg 106 (lastname_quiz.html + js files as needed))
-----------
Finish the LAB
var input = prompt('How much money do you have to spend on lunch at Disneyland?');
var cash = Number(input);
if (cash == 2 && cash < 3 ) {
document.write("Vending Machine Soda") }
else if (cash >= 3 && cash < 5 ) {
document.write("You can get a Churro") }
else if (cash >=5 && cash < 10) {
document.write("Kids Hamburger from Tomorrowland Terrace") }
else if (cash >=10 && cash < 20) {
document.write("Chicken Basket from Frontierland")}
else if (cash >=20) {
document.write("Goofy's Kitchen")}
else if (cash <2) {
document.write ("get more money")}
else {
document.write ('<p>You entered ' + input + ' You did not enter the dollar amount correctly.</p><p>For example: If you have $5.22, please simply enter 5.22')}
Labels:
Homework Assignments,
Week 2
Wednesday, April 6, 2011
Homeworkios
1. Get the book
2. The topic for final project website (an informational site)
the content needs to lend itself to being chopped up into subtopics
needs to have pictures because it will have image galleries
3. turn in a half page description of your site: that addresses the kinds of content, how you might organize the information, and the image gallery
4. read the chapter and take notes on the reading (you can use these notes on tests)
5. Do the following tutorials from Chapter 2. For each tutorial, create a separate file with a
filename as indicated below.
NOTE: Please type out the code yourself. You need the practice! DO NOT simply cut and
paste the code from the download site into your files. You will learn nothing, not understand
the concepts, and will probably fail the class. DO THE WORK, and you’ll learn it!
o Using Variables to Create Messages – pg 53 (name your file:
yourlastname_messages.html)
o Asking for Information – pg 54 (name your file: yourlastname_information.html)
o Writing to a Web Page Using Arrays – pg 67 (name your file:
yourlastname_arrays.html)
2. The topic for final project website (an informational site)
the content needs to lend itself to being chopped up into subtopics
needs to have pictures because it will have image galleries
3. turn in a half page description of your site: that addresses the kinds of content, how you might organize the information, and the image gallery
4. read the chapter and take notes on the reading (you can use these notes on tests)
5. Do the following tutorials from Chapter 2. For each tutorial, create a separate file with a
filename as indicated below.
NOTE: Please type out the code yourself. You need the practice! DO NOT simply cut and
paste the code from the download site into your files. You will learn nothing, not understand
the concepts, and will probably fail the class. DO THE WORK, and you’ll learn it!
o Using Variables to Create Messages – pg 53 (name your file:
yourlastname_messages.html)
o Asking for Information – pg 54 (name your file: yourlastname_information.html)
o Writing to a Web Page Using Arrays – pg 67 (name your file:
yourlastname_arrays.html)
Labels:
Homework Assignments,
Week 1
Subscribe to:
Posts (Atom)