+ 2
Can we able to develop a web site only using html, css and js
16 ответов
+ 1
Ok thank you so much for your answers
+ 1
hello sam
0
Yes, you could build a static website with a touch of Js to make it a little interactive. Using a back-end language, on the other hand, will take your site to a whole different level.
0
Actually I am making a web app with only those languages with a nodejs backend and it is going great!
0
I have wrote few codes in html css and js to create a image slider in notepad i don't know to execute together
0
Since i am a beginner i like to create my own website plz give me some guidence
0
ok
give me a second
make a coding folder on your computer
add three text files. save them as as index.html, script.js, style.css
in index.html
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
<script src="script.js"></script>
</body>
</html>
in script.js
alert("hello")
in style.css
h1 { color: blue }
0
Ya i have done as you said nxt step
0
open index.html with your web browser
tell me what you see
0
Yes i got the answer
I got alert box then
This is a heading in blue color
This is a paragraph in small font
0
good. now go forth and play. test all your javascript and css and html there.
I suggest going through the courses here and copying the code you see into those files. copy as in type yourself. then run it. see if it works. change something
also take a look at htmldog.com
0
explain the line of code ‹link rel= "stylesheet" href="style.css"›
0
What is rel
0
that line imports a css stylesheet called style.css
take a look at mdn for a detailed answer.
0
you are welcome have fun
0
the " rel " attribute specifies the relationship between the current document and the linked document/resource.@Samundeeswari.