Link HTML with CSS

Tell us what’s happening:
Describe your issue in detail here.
Hi, I am building the Tribute page project. It is my first time using codepen.io.
I have written some code in the HTML panel on the left . And I have written some code in the CSS panel in the center of the screen , but I do not know how to link the CSS with the HTML.
I do not seem to have the ability/opportunity to name the CSS or HTML files.

Your code so far
HTML

CSS
h1 {
text-align: center;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36

Challenge: Build a Tribute Page

Link to the challenge:

the html/css/js in one codepen pen are automatically linked together.

2 Likes

Your css is automatically linked to your html and about naming it, try and look at the top left of your pen where the untitled is written, you click on it (untitled) and you would be able to name it.

1 Like

Thank you very much. I really appreciate your quick response.

1 Like

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