Bug in the app not coding the css

Problem description:

Expected behavior:

Actual behavior:

Steps to reproduce:

Bug appears at this link:

Whenever I combine css with html , the app doesn’t run the css codes together with the html.

Hey @KennethNwagbo! Welcome to our community!

You will need to include a <link> tag in your HTML fiole in order to see the CSS work;

<link rel="stylesheet" href="your-css-file.css">

Hey @KennethNwagbo welcome to the forums!

Thank you for your post and sorry that you are experiencing issues. However, the Replit support team may not be able to help you with this issue if you do not complete the template fields fully.

Without knowing the expected and actual behavior (screenshots are fine for this section) as well as the link to your Repl and the steps a member of the support team will need to follow to reproduce the error there won’t be much we can do to help you.

The more information you provide at the start, the easier it will be to identify if your bug report is an issue or a misunderstanding.


I want to o write code on the css code sheet not the html sheet

1 Like

What about JavaScript

1 Like

Yes, you can write your CSS on the CSS file and then link it to your HTML.

For Javascript, it’s the same, but with a <script> tag:

<script src="your-js-file.js"></script>
1 Like