Designing solutions through programming - January 20 2017 Lesson Notes: Difference between revisions

From Computer Science Wiki
(Created page with " __NOTOC__ <table cellspacing="10" style="width:100%;"> <tr> <td style="width:50%; margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1...")
 
Line 6: Line 6:


# I am out sick today. Again. Blech.  
# I am out sick today. Again. Blech.  
# I am sorry my last examples were not so good
# Please look at this page to see an example of your form. Please pay attention to the form action and the labels. There is more information in their than normal (ID's)  http://85.90.244.131/bm/bootstrap_form.html
# please look at THIS page for your output: http://85.90.244.131/bm/exercise.php


# Please look at the example file here. This is what your INPUT FILE should like like
What is different with this page than what you normally do is we are MIXING php and HTML.


 
# please copy both files. Note the bootstrap template is very simple.
I would ask that you create a form which asks users how many hours a week they exercise. the php script should then use a simple conditional to tell them to exercise more, stay the same, or be careful about exercising to much!
# please create an additional conditional that tests if the user entered "video games" as exercise. If so, your program should be "nicely sarcastic" that video games is not exercise!  





Revision as of 21:37, 19 January 2017

Class plan.png What are we going to learn today?[edit]

  1. I am out sick today. Again. Blech.
  2. I am sorry my last examples were not so good
  3. Please look at this page to see an example of your form. Please pay attention to the form action and the labels. There is more information in their than normal (ID's) http://85.90.244.131/bm/bootstrap_form.html
  4. please look at THIS page for your output: http://85.90.244.131/bm/exercise.php

What is different with this page than what you normally do is we are MIXING php and HTML.

  1. please copy both files. Note the bootstrap template is very simple.
  2. please create an additional conditional that tests if the user entered "video games" as exercise. If so, your program should be "nicely sarcastic" that video games is not exercise!


Homework.png What is our homework?[edit]

None.


Target.png How am I being assessed today?[edit]

  1. You will be formatively assessed in class today

Ourstandards.png Standards we are covering today[edit]

Computer1.png As a computer scientist, you have:[edit]

  • Confidence in dealing with complexity
  • Persistence in working with difficult problems
  • Tolerance for ambiguity
  • The ability to deal with open-ended problems
  • The ability to communicate and work with others to achieve a common goal or solution

Credit.png Credits[edit]