100 Days
100 Days
John Aspinall
Day 12 - Getters & setters
15 minutes Posted May 14, 2020 at 6:30 pm.
0:00
15:41
Download MP3
Show notes
  • 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 <p> 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
---
Send in a voice message: https://anchor.fm/100-days-code/message