Problem with exercise[Loading&CSS page]


#1

Hello guys!
I have a problem with one exercise at HTML&CSS course.
If I open it directly from the "CSS: An Overview" tab this is what is heppening: http://prnt.sc/akol55
But if I go to the previous task and then proceed to this,here is what the stylesheet.css file look like: http://prnt.sc/akommo
It's the same as the HTML file! www[dot]prnt[dot]sc/akol55 (replace [dot] with "." because I am new user...)
So I can't proceed with this exercise because I don't know want the .css file contains!
What's more if I press Submit&Save button it does nothing!
Thanks in advance :slight_smile:


#2

Hi,

Try resetting the exercise ..
There's a reset button at the bottom

Or try logout/ login


#3

I have tried it.Nothing.
I forgot to tell you that I can't select or write anything in CSS file.


#4

@dimitris51

First of all, you should be setting the style of each elements/class/id in stylesheet.css so remove the style attribute in your index.html

Second, you just copied the code from index.html inside stylesheet.css and because it is a different language, it won't work!

You are supposed to set the style of each element in stylesheet.css

Remember CSS syntax looks like this:

selector {
property: value;
}

#5

Hello! I know how it works! :stuck_out_tongue: I didn't copied anything and pasting it in the css file!
Whatever I write in the HTML file it is automatically written in CSS file as well.
I can't write something separately in CSS file.Nor delete something!!


#6

@dimitris51

This is weird... I don't know what's wrong with it. It might be a bug. Try refreshing the webpage. Contact me if the problem is not fixed.


#7

You might want to refresh the page/restart the browser


#8

maybe reset your cache?


#9

I have the problem since Friday,I think.I haven't completed any other exercises since then.
I have tried loging out,restarting the webpage,the browser etc..I will try what gmunker said and I will be back in a minute.


#10

Try a different browser altogether.


#11

Well I tried what gmunker said and it worked :smiley: :smiley:
Anyway,thank you all for your help!