Wednesday July 6

Exercise

In the Javascript panel of this codepen achieve the following:

Using only Javascript, make the text on the left:

  • White Text on a Red Background
  • Give it extra whitespace
  • Make the text say "Red Pandas RULE"

BONUS

  • Create an image element using Javascript
  • Add this new element to the end of the page
  • Set the image src to http://i.imgur.com/vxKOi.gif?noredirect

http://codepen.io/rtablada/pen/mEwYGv?editors=1010

Standups

  • What is going well?
  • What is not going well (what are you struggling with)?
  • What's something you'd like to share not about code?
  • What's something you've learned

Common Wins

*

Common Struggles

*

Topics

  • Javascript Promises
  • Object Constructor Functions
  • Classes
  • Scope
  • Using Classes as Components
  • Breaking Apart Smaller Components and Creating New Elements

FAQ

  • [ ] When to use document.createElement
  • [ ] Clearing out Elements
  • [ ] What to return and when to use return
  • [ ] When to use appendChild

Code

https://github.com/tiy-tn-fee-2016-summer/lesson-week-04/tree/day-02

Homework

https://online.theironyard.com/paths/379/units/2144/assignments/5232

results matching ""

    No results matching ""