hii folks!
i hope you all are doing great. I have a question regarding path
My question is can anyone explain me path for connecting cs and js file .
i really dont understand how (…/2project_digital_clock/clock.css) works,
and what will be path for star_programs css and js file?
Hi,
When files are all in the same folder, you can reference with a relative path.
This would be the following for you:
<link rel="stylesheet" href="./clock.css" />
<script src="./clock.js"></script>
Basically, ..
means move up a directory and .
means current directory.
See here for further reading:
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
1 Like
Thanks james for reply.I am trying to understand what you said
Well let me know if you have any further questions.
system
Closed
December 31, 2020, 4:26pm
6
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.