Week 5 reflection

Tuesday

on Tuesday I had a talk with Diana about my progress, I was pleased to know that I was on the right track and I hope I stay that way. Later on I also looked at some coding principles (I already knew about compilers and interpreters but it was a nice refresher. Also learnt about the term ‘rubber duck debugging’, which I thought was really cute, in the future I’ll definitely talk through my code when I am stuck with my little rubber duck. 🙂

It was also nice to be able to talk to more people when we were representing compilers and interpreters, I hope I can form stronger connections with people in the future as its easier to feel like you can work with people you are more connected to. (which I hope will lead to me expanding my teamwork and leadership skills.)

Wednesday

on Wednesday, I looked through some more JavaScript with Hannah, loops in particular. It was quite a useful session and I was very happy to gain some more knowledge of loops, as even though I know about them in other programming languages, each one is different. Later on, I worked more on the features of my audio player, namely finding my third song and adding my drag and drop feature. This took me a while to do as I ran into many small errors, as well as confusion with the placement of my DIV IDs and classes, however I managed to resolve this which allowed my drag and drop to work as intended.

Thursday

I worked more on my audio-player, mostly focusing on styling the colours of my webpage. I learnt that you could call for functions inside of other functions, which was very useful when I was applying my styleChange function from my stylechange.css file into my onNextClick() function

function onNextClick() {

    songNumber = songNumber + 1;

    if (songNumber > 3) {

        songNumber = 1;

    }

    console.log(‘song number: ‘, songNumber);

    songChange();

    styleChange();

}

I want to learn more concepts like this as its very beneficial for adding the interactivity and style changing that I want in my future websites and projects. A lot of Thursdays time was spent debugging and making sure I understood my code thoroughly.

Leave a Reply

Your email address will not be published. Required fields are marked *