Skip to main content

FUDGESICLES!

I MUST BE STUPID BECAUSE I HAVE NO IDEA WHAT I'M DOING!

I've finally started on my assignment to make a pizza menu using HTML, CSS and JS. It is mainly concerned with vanilla JS. I have done short exercises on how to use the different functions etc. Putting it altogether though, a whole different ballgame! Am I not cut out for this? I'm looking at the cheat sheet and thinking, yes, I understand what is being done.  Because I don't see how I could have come up with this on my own. JS is really kicking my ass. The desire to throw in the towel is all too strong. I even googled "JS is difficult" to see if anyone else is having as much difficulty with it as I am. Do I believe people when they say "Yes, I felt the same way when I started out"? This just might be the most difficult thing I've ever done in my life. *throws a one woman pity party*

Comments

Popular posts from this blog

Using Modals to render forms

A student wanted to create several tables with foreign keys linking them. He was placing the forms all over the place and that just didn't seem to make sense to me. I suggested that he link all the forms to one main registration page, and while he worked on it, I came up with my own solution that I feel rather proud of. Though I'm well aware it is a very simple solution.  views.py def register (request): # form for team formteam = TeamForm(request.POST or None ) if formteam.is_valid(): formteam.save() return redirect( 'registerForTeam' ) else : print (formteam.errors) formteam = TeamForm() # form for coach formcoaches = CoachesForm(request.POST or None ) if formcoaches.is_valid(): formcoaches.save() return redirect( 'registerForTeam' ) else : print (formcoaches.errors) formcoaches = CoachesForm() # form for player formplayer = PlayersForm(request.POST or None ...

Shortcuts

 I saw one of my colleagues do something magical. He automatically fixed the alignment of student code on Visual Studio with just 1 little keyboard shortcut. Ctrl-k, followed by D. Holding down Ctrl the entire time Sometimes shortcuts really do work and make your life better!   

Finding your roots

I tried working on the Algorithms I course on Coursera a while back and I had no idea what was going on so I never continued with it. I decided to give it another try now that I've read up a little on algorithms. It's still using a lot of my brain cells but I am slowly making my way through it.  Learning about Quick-unions in Java(from the course) Java seems almost identical to C#. I've forgotten most of what I've learnt about C# but, there's enough in this brain for me to read this. I had such a tough time understanding the root method. I wrote it out in my notebook and worked through it to figure out how it functions and I am amazed! That line is so simple yet complex. And it reminded me of a binary tree LeetCode challenge I was trying to work on with my colleagues some time ago. I had no idea what binary trees even were at that point. The challenge involved finding roots and tre...