25 AnswersNew Answer
I just wanted to make website responsive ..I mean like the button should work ... For example - If I click on a button called as contact me ..so it should open a contact me webpage .. And I don't understanding . And also how to make contact me page actually send mails to me . Please let me know how to do it . Thank you
1/6/2021 5:13:04 AMraunak j
25 AnswersNew Answer
<a href = "contact.html"> <button>Contact me</button> </a>
That's what you described in the question. You can also do it in the same page, by hidding a <div> containing the contact information and then display it by clicking the button.
Its very easy to do that just create contact page and inside the button you need to add link Like this <button><a href="contact.html">contact</a></button> But if you wanna make more dynamic website u have to learn reactjs or Angularjs And if you wanna make website work in mobile and pc you need to learn bootstrap framework to make the website more responsive
raunak j my messenger broke, I can't send anything right now
You will need a back end to send mail like that.
If you mean, how do u can send messages form your page to your email so first way you must have server but sometimes u can solve it without server, with google scripts https://github.com/dwyl/html-form-send-email-via-google-script-without-server
Yes you need different page with name contact.html
Sonic can u provide me a sample code
raunak j unfortunately not but you may be able to search the web.
To send Emails and messages you will also need PHP. See this: https://blog.hubspot.com/marketing/html-form-email
☠️Darth Vader☠️ cool button
Kaustuv saxena Are you kidding?
Because in solo learn I can't send message to you
Just you need to learn HTML if your really want to make a website...
<a href="contact.html"> <button>contact me </button> </a>
So do I need to create a different html file for contact me right ?
If you want to make a button clickable, you should check out the sololearn js course, where you will learn to create functions, and then you could use the onclick="" property for whatever. Also if you just want to open a weppage, you can use the <a> tag: <a href=""><button>some text</button></a> If by "contact me" you meant an email, you can also use mailto, it works like this: <a href="mailto:[email protected]">Contact me</a>
Jamal thank u
СОБАКА => Дебил / Retard Send your mail id here only
Sololearn Inc.4 Embarcadero Center, Suite 1455
Send us a message