Home > Software design >  css style are not getting applied in github when deployed
css style are not getting applied in github when deployed

Time:08-10

I am trying to deploy a small html and css project on github but css styles are not getting applied after deployment. I am very new to github and I don't know what is the probelem. Any help will be appreciated.

HERE IS THE MY REPO OF MY PROJECT:https://github.com/Subhodeep014/Frontend_Mentor_testimonial

CodePudding user response:

In your header, you used a double single quote instead of one.

the wrong code:
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Testimonials</title>
    <link rel=''stylesheet''  href="style.css">
</head>

the correct one:
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Testimonials</title>
    <link rel='stylesheet' href="style.css">
</head>

CodePudding user response:

I Check the link and pages load Properly with cssView Link

  • Related