Still tic-tac-toeing...

codecara

CodeCara

Posted on October 21, 2024

Still tic-tac-toeing...

(Note: this should have been posted on Sunday 20 Oct. 24)

Things I've worked on/completed since my last post…

I made very little progress this week for various reasons, so this post will be very short, but I am still working on Tic-Tac-toe

More specifially, I worked on:

  • the CSS and HTML for the UI

  • the displayController function (just started)

Things that went well...

The CSS and HTML part was easy! (Even though it’s just a rough layout).

Things that didn't go quite so well...

  • For some reason, I struggled with making a variable within a function accessible outside of that function, not realising that I could assign it to the property-value pair of another (factory) function’s returned object, making it accessible outside of hte original function .

Things I've learnt/need to improve on...

  • For this project, there are a mountain of things I could improve on…However, as suggested by the project itself, I think I would have benefitted greatly by figuring out (on paper possible) what to return to each object in each function

  • I did not do this mainly because I struggle to understand how everything was supposed to fit together intially, although I think I have a better idea now.

Plan for the forthcoming week...

  • I at least hope to have all of my code (including the displayController) working correctly. Ideally though, I would love to finish this as I was a lot slower doing this project than I anticipated (mainly due to my poor understanding of how it should have been approached at the start, as the concept of OOP was completely new to me)
💖 💪 🙅 🚩
codecara
CodeCara

Posted on October 21, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Attack of the killer Webpack
webdev Attack of the killer Webpack

November 17, 2024

Still tic-tac-toeing...
webdev Still tic-tac-toeing...

October 21, 2024

Gridlock
webdev Gridlock

September 11, 2024

Moving towards the sign-up form...
webdev Moving towards the sign-up form...

August 28, 2024