The problem is i never learned how to program using .html
Not a problem. You don't program the Arduino in html. You program it using C++.
If I use the button and switch program and rename everything I can get my Arduino to work
What "button and switch program"? What did you change?
But if I use 2 working programs with diffrent names they don't work, do I need to end a program somehow before I type the next program?
Not at the same time, they won't. You can only have one program (we call them sketches) on the Arduino at once.
do I need to end a program somehow before I type the next program?
Yes. Generally, that means saving the current sketch and starting a new one.
Pushbutton1 sets relay1 as switch
The relay is either switching voltage/current or it isn't. Pushing a switch won't change that.
I have been trying to make this work since november but no luck so far.
Programming is not like winning the lottery. There is no luck involved.