My Journal

9/26/2024 Entry

10/10/2024 Entry

10/22/2024 Entry

The past Two classes I have learned how to make an object move using HTML, and today I learned how to make a notification in the console and functions.

11/7/2024 Entry

In the last few classes I have cleaned up my home page for my website, and I have added all of my projects to my projects page.

11/20/2024 Entry

I have been working to refine most of my projects, and I started working on my big project which is creating a thanksgiving thing to show my family

11/26/2024 Entry

Functions:

A function is an action you can put things inside of it. When you "call it" or "run it" does the things.

When we want to run a function on the whole document we say document.___... when we want to do this with a div we say it's id then it's style and then the atribute to change - we usually put these things inside themsleves (e.g.box.style.opacity = "0")

addEventListener("click", function(){})

setInterval ()// makes a function run every time based on a interval that you set//

createElement()//makes a div or link or whatever you ask it to make//

classList.add()//adds a class to a element we've created//

console.log()// puts something in the consol//

alert()//makes the tab put out an alert//

play()// plays an audio file - use audio file id// pause()// pause an audio file - use audio file id//

12/10/24

Today I learned how to make if else statements and how the work. If else statements let you switch something back and fourth.