thoughts
my class introduction to programming (which focuses on c++) is kinda doing wonders for all the things that i've done with JS without really knowing WHY they worked the way they did... i'm also currently reading JavaScript All-in-One For Dummies which i had saved in a pdf from god knows where. i think my previous knowledge + my class is making the first few chapters of this kinda of a breeze but wow!!! i have learned so many little things about JS so far that i didn't know about. been mostly reading it on the train so i have a few notes of stuff i want to practice and write about on this page once i have some more free time. but at least for me, i think it is way easier to get all of this new information from a book rather then a documentation site (w3schools, mozilla, etc. etc.) it def makes the process of learning these things way less intimidating.
05.mar.25
learned how to remove classes and add them with an event like so:
still need to dig deeper into events because as i was coding this on VSC, i kept getting a warning saying that event
was deprecated but then my question was... then how do i do this?
in my compsci class we've been talking about operators like and
, or
, and not
which helped me out a bit when making my fashion page's javascript! in this case i used the or
which is written like this ||
in JS for an if statement so that the mobile/responsive view of the page could be as neat as possible. honestly it was pretty fun to figure that out and get it working. i really need to look more into what event targets are though.
the javascript for my yukika passport is SOO messy but it does work! i am SURE there's probably a whole other way of doing this but i haven't quite gotten there yet.
figured out how to do a box pop up and a img modal of sorts! i put a class tag on all that imgs where if you click them then i take the src
and alt
text into the img modal. you can check it out on the scans page of my siinamota fansite. i also use a similar thing for the imgs on my microblog but with a different method.
also learning how to use this bit of code with the examples mentioned above i = 0; i < example.length; i++
hi this is inside a box!
this is a link. this is bolded. this is italics. this is highlighted
note: i am still wrapping my head around the difference between ==
and ===
when i used it for a toggle like this. but i'm starting to understand some stuff!!!
i learned how to change things with a button