a repository to help introduce and orient students to the GitHub collaboration environment, and to support the web development classes at Pitt-Greensburg
Homework 11: Intro to Javascript
1) Review our Intro to Javascript (from class).
2) Explore the Javascript Tutorial from w3schools.com: Although we've gone through the Introduction in class, check out a couple other sections on your own.
3) Use this javascript example in one of your HTML files to enable a user to swap between two (or more) images.
4) Incorporate three more examples of javascript from the tutorial into your existing HTML pages. Please note them with comments in your HTML so that I can find them!
5) As usual:
a) make sure that there is no internal or in-line CSS in your HTML files.
b) use comments in both HTML and CSS, with initials and date, to indicate your modifications:
<!-- ghb 2018-10-31: This is a comment in an HTML file -->/* ghb 2018-10-31: This is a comment in a CSS file*/
c) after uploading to web space, check to see if your HTML and CSS are valid using the validator sites:
Validate your HTML: https://validator.w3.org/
Validate your CSS: http://jigsaw.w3.org/css-validator/
d) push all content to your personal Github repos and to your webspace.
Homework 11: Intro to Javascript 1) Review our Intro to Javascript (from class). 2) Explore the Javascript Tutorial from w3schools.com: Although we've gone through the Introduction in class, check out a couple other sections on your own. 3) Use this javascript example in one of your HTML files to enable a user to swap between two (or more) images. 4) Incorporate three more examples of javascript from the tutorial into your existing HTML pages. Please note them with comments in your HTML so that I can find them!
5) As usual: a) make sure that there is no internal or in-line CSS in your HTML files. b) use comments in both HTML and CSS, with initials and date, to indicate your modifications:
<!-- ghb 2018-10-31: This is a comment in an HTML file -->
/* ghb 2018-10-31: This is a comment in a CSS file*/
c) after uploading to web space, check to see if your HTML and CSS are valid using the validator sites: Validate your HTML: https://validator.w3.org/ Validate your CSS: http://jigsaw.w3.org/css-validator/ d) push all content to your personal Github repos and to your webspace.