100 Days

Day 12 - Getters & setters


Listen Later

  • Wrote callback function as an arrow function, using the forEach method to print an array of player names.
  • TIP - Watch a tutorial video, make a “coding to do” list of things youve just watched by commenting in your app.js file.  Then try to do each task without watching the video.  Re-watch video only if necessary.
  • Worked and getting and setting attributes
  • Now on and and removing classes.  Got a good challenge coming up re: adding certain classes to a group of

    tags based on the text content of each element. I.e. error, success, none.

  • Got some great help on the slack group from Sonaksh with regards to error.style.properties not working correctly.  Turns out camelCase was the issue
  • ...more
    View all episodesView all episodes
    Download on the App Store

    100 DaysBy John Aspinall