@Iamparves
Posted
There is a minor error when adding CSS files to HTML. When you put '/' at the beginning of the path, it looks for that path directly from the main domain or root, which in your case is just after https://waru-guru.github.io
, resulting in the final CSS file path https://waru-guru.github.io/static/assets/css/styles.css
.
However, your CSS file is stored at https://waru-guru.github.io/blog-preview-card/static/assets/css/styles.css
. So instead, use a relative path. Simply add a dot (.) in front of the path, and it should work.
Correct this: <link rel="stylesheet" href="/static/assets/css/styles.css
To this: <link rel="stylesheet" href="./static/assets/css/styles.css">
Edit: I noticed you also did same mistake for the avatar image. Fix that too.
Marked as helpful
@waru-guru
Posted
@Iamparves Thank you let me try this and see whether it will build!