1 / 18

COMP 1231

COMP 1231. Web Programming Ben Blanc. Week 1. Introduction. My Schedule. 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.

Download Presentation

COMP 1231

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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 email that marks are posting. Two weeks start from then.

  7. Who Marks What • Lecturer • Quizzes • Mid Term • Final Exam • Lab Instructor • Lab Test • Lab Exercises • Assignment

  8. Where to Find • Marks • On BlackBoard • Class Material • GB Learn site ->Code Sample -> Code Repository -> Click here to view the code repository for comp1231 (Winter 2017) • http://comp1231.gblearn.com/2017/winter/ben

  9. Where to Upload/Submit • Onto your GB Learn account • lab exercises, lab tests, assignment • All .html files should have validation script • http://gblearn.com/courses/comp1231/validation-script/

  10. Watch Videos • GB Learn • http://gblearn.com/courses/comp1231/category/videos/ • Lynda • http://www.georgebrown.ca/llc/lynda/

  11. Review Start Up Info/Guide • http://gblearn.com/courses/comp1231/startup-information-and-guidelines/

  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() • 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

More Related