By michaelh@uoregon.edu on 03/09/20
programming the web
Mon: Array and String methods (Ch. 14); Objects.
Wed: Review.
Final Exam Times
- Our regular final exam is 2:45pm Mar. 19.
- The optional early final exam is 2:00 pm Mar. 13.
- Fill out the Final Exam Survey in Canvas to indicate which exam you will attend.
Getting Ready
- See the Final Exam Review document in Canvas.
- Bring your UO Photo ID– No ID/No Exam.
- Exam Procedures.
Optional Web Field Trips
Posted in Uncategorized
By michaelh@uoregon.edu on 03/02/20
Unfinished Business
JavaScript Revisited: Loops, Conditional Operator, Array Methods, Object Literals, Arrow Functions, Etc.
Required Reading
Optional Web Field Trips
Posted in Uncategorized
By michaelh@uoregon.edu on 02/24/20
HTML Elements are DOM Nodes
- Element Nodes are Objects
- Objects are Sets of Properties
- Some Properties are Functions
-> Methods
- DOM API == DOM Methods
Objects are Sets of Properties
Required Reading
Web Field Trips
- Take the Web IQ Quiz
- isPrime (876-5309). “Many people prank-call 876-5309, driving the phone companies (and their customers) nuts. A Saundra E. writes that she ‘went through every area code in the AnyWho.com database and found 16 people across the US who are cursed with this number. One of them is named Jennifer.'”
- DeMorgan’s Laws
At age of 17, Ada Lovelace met Charles Babbage (the Nostradamus of computing). The pair became friends, and the much older Babbage served as a mentor to Ada. Through Babbage, Ada began studying advanced mathematics with University of London professor Augustus de Morgan.
Ada described how codes could be created for Babbage’s Analytic Engine to handle letters and symbols along with numbers. She automated the word “if”, and also described how the Engine could repeat a series of instructions, a process known as looping that computer programs use today. Ada also had many other forward-thinking concepts. For her work, Ada is considered to be the first computer programmer.
Posted in Uncategorized
By michaelh@uoregon.edu on 02/17/20
You Might Be A Programmer If:
1. You immediately complain that this should be subscripted as zero.
2. By the time you’ve gotten here in this document, you’ve run a linter to check the HTML.
3. Point 2 annoys you, since this document is obviously plaintext without html.
4. The statement (0x2b || !0x2b)
makes sense to you.
Note: Hexadecimal numbers use a leading zero followed by a lowercase or uppercase Latin letter “X” (0x or 0X).
(eg) 0xA // 10
5. You find 4 funny. [Think Shakespeare!]
6. You note with disgust that it always evaluates to true, since 0x2b != 0
.
7. Point 6 disgusts you, because in other languages it would throw a runtime error.
8. Your DuckID password is the chemical formula for caffeine.
Required Reading
Optional Web Field Trips
Posted in Uncategorized
By michaelh@uoregon.edu on 02/10/20
Midterm Exam: Wed. Feb. 12 in Class
See the Midterm Review document in Canvas.
Bring your UO Photo ID– No ID/No Exam.
‣ Study these Exam Procedures
Required Reading
See the Midterm Exam Review document.
Optional Web Field Trips
Posted in Uncategorized
By michaelh@uoregon.edu on 02/03/20
Ch. 5 More Loops: for, while, do-while.
Required Reading
- Ch. 5 Loops
- Ch. 12 Strings (More about Strings)
- Emmet Tag Wrapping
- Meet the DOM: Ch. 21-23
Optional Web Field Trips
Posted in Uncategorized
By michaelh@uoregon.edu on 01/27/20
Ch. 5 Meet the Loops: for, while, do-while.
Required Reading
- Ch. 5 Loops
- Ch. 12 (Strings, More about Strings)
- Emmet Tag Wrapping
- Meet the DOM: Ch. 21-23
Optional Web Field Trips
Posted in Uncategorized
By michaelh@uoregon.edu on 01/21/20
Ch. 4-5 Control Structures
Control Structures: Sequence; Selection; Iteration.
Required Reading
Ch. 4: Six False Values
Ch. 4: Selection Statements (aka, Conditionals)
Ch. 9: The .js File
Ch. 10: Comments & Style Guide (⇒ beautify & prettier packages)
Ch. 15: Numbers && Operators
Ch. 18: Strict Operators vs Abstract (type-converting) Operators
Ch. 21-23: Meet the DOM: Client-Side JavaScript
Optional Web Field Trips
Posted in Uncategorized
By michaelh@uoregon.edu on 01/13/20
User-Defined Functions
P. 22: A function is a named block of code:
- Groups statements together (=> “mini-program”)
- Makes code reusable (=> Lego block)
- Defines a rule that describe how to compute a result when given values for the parameters.
Required Readings
Refresh/Reload Keyboard Commands (xkcd). Memorize Hard Refresh, and be careful with Hardest Refresh.
Command-Line JavaScript
- Ch. 3: Functions; Function Expressions.
- Ch. 4: Selection Statements (aka, Conditionals)
- Ch. 9: The .js File
- Ch. 10: Comments & Style Guide (⇒ beautify & prettier packages)
- Ch. 15: Numbers && Operators
Client-Side JavaScript
Optional Web Field Trips
Posted in Uncategorized
By michaelh@uoregon.edu on 12/30/19
Welcome to WebDev 111
In CIS 111 you will learn web programming with JavaScript, the machine language of the web platform.
CIS 111 is the second course in the CIT minor, which covers web development using both client-side and server-side JavaScript.
Required Reading
- Course Syllabus in Canvas.
- The CIS 111 WebDev Workflow.
- Command-Line JavaScript.
- Ch. 1, 2, 3, 11, 15, 27, JABG.
Optional Web Field Trips
Posted in Uncategorized