ebeshero / DHClass-Hub

a repository to help introduce and orient students to the GitHub collaboration environment, and to support DH classes.
GNU Affero General Public License v3.0
27 stars 27 forks source link

JavaScript Intro Links and Resources #732

Closed ebeshero closed 4 years ago

ebeshero commented 4 years ago

My intro example running live on newtfire: https://dh.newtfire.org/JavaScriptIntro.html

DOM object events: https://www.w3schools.com/jsref/dom_obj_event.asp (these are user events: what site visitors do on your page: mouse-clicks, mouseover, etc)

DOM object methods: These are actions that JavaScript takes in response to events. Common methods we use in our projects are to change colors or to show/hide something.

DOM element properties: https://www.w3schools.com/js/js_htmldom_document.asp

Ways to access your HTML elements with JavaScript: