Skip to main content
Engineering LibreTexts

2.6: Problems

  • Page ID
    27536
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    1. Create a form for an application of your choice. The application can be for a realtor, a schedule at work, your favorite team’s roster, or any topic you choose. Use as many form elements as you can, but at a minimum you must use text boxes, check boxes, and radio buttons.

    Learning Objectives

    1. Inserting JavaScript into an HTML file
    2. How to output HTML from JavaScript to the Web page
    3. How to print debug output to the console.
    4. Branching (if) and looping (while and for) program control structures
    5. Using Arrays as you would in a more traditional language such as Java or C++
    6. Implementing and calling functions
    7. Lambda functions
    8. JQuery syntax and onload event
    9. Assigning functions to handle events in the onload event using Immediately Invoked Function Expressions (IIFE)
    10. Functional programming

    This page titled 2.6: Problems is shared under a CC BY license and was authored, remixed, and/or curated by Charles W. Kann III.

    • Was this article helpful?