Download presentation
Presentation is loading. Please wait.
1
Web Programming Ben Blanc
COMP 1231 Web Programming Ben Blanc
2
Week 1 Introduction
3
My Schedule
4
Testing Policy Must complete evaluation the assigned day.
If unable, students required to notify prof at least three days (72 hours) prior to the date, so alternative arrangements can be made. Failure to comply with this policy may result in a zero grade.
5
Assignment Policy All assignments must be submitted on the due date based on an instruction given by the professor. Late assignment, will be penalized 20% per day to maximum of 5 days, weekend included unless the student has notified the professor
6
Evaluations Students are responsible for making sure their marks are up to date on the blackboard. No mark will change after two weeks from the time marks were posted on Blackboard. I will send out notification via GB that marks are posting. Two weeks start from then.
7
Who Marks What Lecturer Lab Instructor Quizzes Mid Term Final Exam
Lab Test Lab Exercises Assignment
8
Where to Find Marks Class Material On BlackBoard
GB Learn site ->Code Sample -> Code Repository -> Click here to view the code repository for comp1231 (Winter 2017)
9
Where to Upload/Submit
Onto your GB Learn account lab exercises, lab tests, assignment All .html files should have validation script
10
Watch Videos GB Learn Lynda
Lynda
11
Review Start Up Info/Guide
12
Ready for Course Content?
Let’s Begin
13
To Program is JS Add “<script></script>” to .html page
Type JS code inbetween opening and closing script tags Save JS code with .js extension and import JS code by <script src=“path_to_js_file”></script>
14
JS Identifier
15
JS Comments
16
Window Object Common window methods window.open() Window.close()
Returns window object reference to new window or null Window.close() Window.alert() Window.prompt() Returns string value or null if cancelled Window.confirm() Returns boolean true if “OK”, false otherwise
17
Document object Common methods
Write() getElementById() Document Object is descendent of window object
18
Task Create a script that opens a new window then has an alert on it.
When creating these scripts, just open a file, type in the <script>, </script> tags, and start coding NOTE: need to allow pop-ups
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.