omg, i create an infinite loop ONE time and phpstorm never forgives me. When i go to test it, my browser just sits in loading with a blank page. have to reset Everything. dumb.
Actually, jk, before I was almost done with this post it came back.
I just have to let it sit for a while or something. I still mean what i said.
Okay, so projects part 2 is going good,
I found phpexercises.com and inspired myself. <--- Wish I would've known about this earlier, and done the exercises as I was learning the material.
I went all out to solve this rediculously easy problem and it lead me to do this:
Created the motiVATOR, lmao.
Basically,
Website with a form. I styled this one too. It's gawjus.
You enter your needed dose of motivation ( a number) , pick the amount in oz,kg,mg,lb and push Submit.
Below it is a string that gets repeated depending on how much motivation you need.
That was the start.
Now, I'm expanding on it.
I kind of realized how to make a Tumblr page..
You see, I had the idea of adding motivational pictures after a certain amount of motivation was needed and it led me to figuring out how to add images with php,
AS of now, I searched how to add all the images in a folder, and after adding the code it looks like this:
a
left-aligned
tumblr
(all my images are like this )
.. CSS styling could quickly bring them center, Tumblr.
Anyway, so my goals for updating the motiVATOR are:
- Add varying amounts of images depending on how much motivation is needed
- Better usage of space, it's hard to explain
- oz/mg/kg/lb have an effect, this will be the trickiest part I think.
It's new to style this, because It's like php just adds it to the page, and I don't fully know how to contain ( I don't know where to do so at )
I just have to move the script into a div, and then make sure the div is where I want it. I'm pretty sure that's how that works. Then it's just like a regular div.