Designing solutions through programming - January 12 2017 Lesson Notes: Difference between revisions
Mr. MacKenty (talk | contribs) |
Mr. MacKenty (talk | contribs) |
||
Line 8: | Line 8: | ||
# we will learn basic terminology about javascript | # we will learn basic terminology about javascript | ||
# you will be exposed to bootstrap | # you will be exposed to bootstrap | ||
# you will use the following code snippets to START exploring javascript: | |||
<syntaxhighlight lang='html' line='line'> | <syntaxhighlight lang='html' line='line'> | ||
Line 14: | Line 18: | ||
<body> | <body> | ||
<h1> | <h1>A javascript example</h1> | ||
<p id=" | <p id="demo1">JavaScript can change content inside a defined ID or even CLASS.</p> | ||
<button type="button" onclick="document.getElementById(' | <button type="button" onclick="document.getElementById('demo1').innerHTML = 'I love computer science!'">Click Me!</button> | ||
</body> | </body> |
Revision as of 10:57, 12 January 2017
What are we going to learn today?[edit]
<!DOCTYPE html>
<html>
<body>
<h1>A javascript example</h1>
<p id="demo1">JavaScript can change content inside a defined ID or even CLASS.</p>
<button type="button" onclick="document.getElementById('demo1').innerHTML = 'I love computer science!'">Click Me!</button>
</body>
</html>
|
What is our homework?[edit]
|
|
How am I being assessed today?[edit]
|
||
Standards we are covering today[edit]
|
As a computer scientist, you have:[edit]
|
|
Credits[edit] |