9/27/24: first entry
My first journal entry. Just set up Github, and made my website official!
10/9/24: adding to github
cd ./desktop/AstridL26.github.io
git add .
git commit -m "adding things"
git push
10/19/24: first animation created
Made my first animation! It is very simple but it was fun to learn how to do that.
11/5/24: small updates + halloween!
Trying to make the website coherent! Made all the backgrounds the same/similar color. Also created a jumpscare for halloween!
11/15/24: images on index
Trying to add more images on index so that there are images on both sides, but unfortunately the images on the right are not showing up. I did add images on left and make them a little bigger.
11/19/24: images on index
Created an animation of squares but have not linked it to to projects yet. Will do that soon!
11/26/24: functions we know
add():
add(5)Adds to a variable or div.
clearInterval()
setInterval():
setInterval(count,3000) Every 3000 miliseconds run the function count.
consoleLog():
Console.log(“Hello World”) Puts in the console whatever is typed in the parameter.
appendChild():
appendChild(Sidney)
Applies a property to all divs nested inside the div Sidney.
addEventListener:
The project gets checked for something to happen
Example: survey.addEventListener(click,
function(){} Survey = the area in which you want this to do. Click = the thing you want to trigger the function/the thing you want it to listen for
sound.play():
Plays the sound file that is assigned to the variable sound
createElement():
document.createElement("div") Creates an element with the name/tag of div.
alert("TEXT”):
Alert(“ERROR”) A bubble with error would show up
12/3/24: random animation
animation made with squares ending up in random places!