Designing solutions through programming - January 18 2017 Lesson Notes

From Computer Science Wiki
Jump to navigation Jump to search

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

  1. I am out sick today
  2. your goal is to create a functional html form which passes variables to a php script.
    1. you must do this inside of bootstrap template
  3. you will please recall the very simple html form -> php script we use
  4. in bootstrap, simply ensure your form has an action and method which point to your php script
    1. you will probably end up with a template.php file with your form
    2. and a template2.php with the php code

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!


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]

Use an idea, equation, principle, theory or law in relation to a given problem or issue.