I am doing css in my laptop and when i am link an css file with an html file it doesn't work . It shows notepad with settingop.? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I am doing css in my laptop and when i am link an css file with an html file it doesn't work . It shows notepad with settingop.?

Please solve my problem if anyone can ?

19th Jul 2020, 6:51 AM
Dharmendra Kumar
Dharmendra Kumar - avatar
4 Answers
+ 1
could you share the code you are having trouble with. are the css and html files in the same folder? most issues with notepad is file extensions, it saves everything as txt. for example css file would be "style.css.txt" and the txt is hidden.
19th Jul 2020, 7:11 AM
Bahhaⵣ
Bahhaⵣ - avatar
0
I do effort to do correct it . Save both file same folder or another folder but no solution found. I also save files txt.css type or type same code link in html file bt get no solution.
19th Jul 2020, 7:21 AM
Dharmendra Kumar
Dharmendra Kumar - avatar
0
it would be easier to put them both in the same folder. with names like, index.html style.css in windows file extensions are hidden by default, that might be the cause of the problem. you can make sure by using "save as" then choose just bellow the name "any files" instead of "txt" . to save correctly as css and html. may be your code has some error. could you post the html code you are trying.
19th Jul 2020, 7:28 AM
Bahhaⵣ
Bahhaⵣ - avatar
20th Jul 2020, 5:40 AM
Dharmendra Kumar
Dharmendra Kumar - avatar