I want you to do an example program(s) where you illustrate the following: (number each one in text and comments)

  1. checking for condition A and condition B or condition C and condition D
  2. checking for condition A and also one of the following: condition B or both condition C and condition D
  3. while
  4. do while
  5. for where you do not specify the start point within the for statement
  6. for in
  7. use the backtick and template strings multiple times
  8. use the substring function
  9. set up multiple fields with the same class and then change something about each
  10. use getElementsByTagName
  11. do something using querySelector
  12. do something else with querySelector