Apparently the answer is: one bite at a time.
So, I’m still sick, hella sick.
But, I’ve managed to produce, something?
and that created:
But then, the fire nation attacked. (too many cartoon quotes!)
So far, I’ve managed to get my Js working without many hiccups, apart from that one that I don’t really want to talk about BUT THATS FINE! THATS IN THE PAST NOW. I’m going to make a few changes to the play menu because it looks like poop but watch this space.
And it’s all done 🙂
This is just my Js gallery, so far the thumbnails have a :hover which causes them to drop opacity making it seem as if they;re highlighting. The buttons now all have cursors (pointers) that make it more obvious when you’re hovering over something with clickable traits.
After all this, I started work on my jQuery. I basically just took what I already had in my Js gallery and made it animate better for more fluid transitions. .fadeIn(); and fadeOut(); worked a treat with clear interval set FIRST instead of LAST … Thanks Matt.
I don’t really have a lot of jQuery, and I though my work looked a little, messy. So I decided that I could compact my code by adding for loops. Well I guess I didn’t really decide.. Matt looked at my code and just said outloud what I didn’t want him to say, which was “your code is messy, use a loop”
“Use a loop” he said, “difference between an A and an A+” he said, “it will be fun”, he said.
He didn’t say that last bit, because it totally wasn’t fun.
not for one second.
I eventually* realised how the heck these things worked, and after some solid tantrums and closing Dreamweaver in a huff, I got going.
*3 hours and 30 minutes later
I guess it paid off, I crushed something like 60 lines of code (js and jQuery) into less than 10.
I’m trying to be mysterious because I totally nailed it and I feel like it’s a triumph and I’m not sharing ^_^
But if you ask me nicely I might.
So, I just have one more thing to address before hand-in: how the hell do you fail gracefully?
I guess it’s sort of graceful?
Were we supposed to write something like <p>Yo’ Homie, You dun gone disabling yo’ Js meng. Reenable dat shit, fo’real.</p>
Cause, I didn’t. But I have the overwhelming urge to Ps a picture of Matt with a tag that says something along those lines spelt out in cat gifs.. If only I had the time, and if that didn’t sound totally creepy.
Anyway, this is it styled and finished ^^ (yes my USB is called GOLDMEMBER)
I think I’m basically done..
Time to validate my code!
Um, I can’t actually find an HTML or JS validator.
If anyone finds one before hand it can you please link it to me in the comment section!
When all your code works:
Sadly, with me finishing this assignment and reaching my week 6 work in progress, that means that there will be no more progress on this piece. So I guess this is my last post for the Js and jQuery galleries. It’s been … .. . I don’t think fun is the right word. I guess, challenging. I mean I really do understand HTML and CSS, but JS … What sort of drank was that person on when they wrote that? I think it would take a lot of practice to understand and I’m not sure I’ll ever reach a stage where I can code JS thoughtlessly.. Its very, very difficult for a beginner, and thats what I had to keep reminding myself of – I’m new here, I’m just starting out and this is all learning. We can’t be expected to know what we’re expected to learn until we learn it. Luckily for us we are graced with some amazing tools for learning and some brilliant minds who take time to sit down and help us take a deep breath before we touch the keys.
So adieu, farewell.
and good riddance
(not really, it has been fun)
– H T F M L