What i have to put in the index.html and the stylrsheet.css please?


Replace this line with your code.


In your HTML (index.html), you need to add an element with a class called "fancy" eg.

<div class="fancy"></div>

and in your CSS (stylesheet.css), you need to target that class, "fancy" so you can change its style eg.

.fancy {
    /* enter style here */

Whenever you want to target a class with CSS, there needs to be a period before its name.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.