Skip to content
← Back to Community
how do i change the color/font in a different file html 5
Profile icon
jibbeiscool

how do i change the color or the font in a different file like if i creat a new file and want to add color to stuff in that file how
at this point im talking about the krista acc info file

Voters
Profile icon
vincentmanuelle
Profile icon
jibbeiscool
Comments
hotnewtop
Profile icon
AmethystMoon1

Coder100 should get the cycles for this one, but I'll add to his answer. You need to change your acc info file to and html and import a stylesheet, like Coder100 said - BUT don't forget to make sure ALL your files are imported into index.html. Index.html is what get rendered.

Profile icon
jibbeiscool

@gwood5901 i dont rly get what you mean can you make a prototype or something

Profile icon
Coder100

Hello, your file will need a .html extension in order to render properly. Also, to style the page, just add <link href="style.css" rel="stylesheet" type="text/css" /> and color it accordingly inside style.css.

Profile icon
jibbeiscool

@Coder100 this doesnt work i added the and its still not working

Profile icon
Coder100

ah yes, because it is relative to the folder path!
Ok, try this:

<link href="../style.css" rel="stylesheet" type="text/css" />

@jibbeiscool