+ 1

how to combine programming languages html, css and js on the laptop for make a website?

i'm using xampp

1st Feb 2017, 2:35 PM
Ihya Ulum Addin
Ihya Ulum Addin - avatar
4 Answers
+ 3
All files written in notepad and use same location to save all of these Html file:- <html> <head> <link rel="stylesheet" href="style.css"/> <script type="text/javascript" src="greet.js"></script> <title>Sololearn</title> <body> <input type="button" value="click me" onclick="greet();"></input> </body> </html> save as index.html CSS File:- body{ background-color:#123456; } save as style.css JavaScript File:- function greet(){ alert("Hello! Friend"); } save as greet.js now open index.html file in browser
1st Feb 2017, 3:22 PM
Avnish Tomar (CCS University)
Avnish Tomar (CCS University) - avatar
+ 1
you dont need xampp to use front end technologies. just create html file use <link> tag to add css and <script> to add js. Voila
1st Feb 2017, 2:37 PM
Jakub Stasiak
Jakub Stasiak - avatar
+ 1
ooo, i understand. ok thx for your answer
1st Feb 2017, 2:55 PM
Ihya Ulum Addin
Ihya Ulum Addin - avatar
+ 1
nice.. @avnish
1st Feb 2017, 3:29 PM
Ihya Ulum Addin
Ihya Ulum Addin - avatar