Why are my buttons not working correctly? |
Why are my buttons not working correctly? |
ironpastry |
Mar 22 2019, 11:49 AM
Post
#1
|
Group: Members Posts: 1 Joined: 22-March 19 Member No.: 26,858 |
I have to make a website for a school project. My buttons were working correctly but then I tried to put them in a line and now if you go to the website you cannot leave the homepage(cookingforcollege.net). Can someone tell me why and how to fix it? Thanks!
Code: <!DOCTYPE html> <html> <head> <title>Home</title> </head> <body> <center style="color:red;font-size:40px;">Cooking For College</center> <style> form { display: inline; } </style> <form action="/index.html" method="get" > <button type="submit">Home</button> <method="get" action="/breakfast.html"> <button type="submit">Breakfast</button> <method="get" action="/lunch.html"> <button type="submit">Lunch</button> <method="get" action="/dinner.html"> <button type="submit">Dinner</button> <method="get" action="/about.html"> <button type="submit">About</button> </form> </body> </html> |
Lo-Fi Version | Time is now: 23rd April 2024 - 10:38 PM |