Wed Jun 14 2017
Copied to clipboard! Copy reply
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
<!--
1. Write some js to make the button hide the "mycontent" div
-->
<div id="mycontent">Hide this content</div>
<button id="mybutton">Click me</button>


<script>

</script>






<!--
2. When the button is clicked,
   all prices should change to 199
-->
<span class="price">299</span>
<span class="price">299</span>
<span class="price">299</span>
<button id="mybutton">Click me</button>


<script>
</script>








<!--
3. Write a function that takes in a name
   and spits out "Hello [name]" in the output div
-->
<div id="output"></div>

<script>
</script>