Having a problem linking file called style.css to index.html. Attributes order: href, type, rel



The code I think behaves correctly because the background images changed but I get the following
Did you link the stylesheet?

<!DOCTYPE html>
    <link href='https://fonts.googleapis.com/css?family=Roboto:400,300,500,100' rel='stylesheet' type='text/css'>
<link href=style.css type=text/css rel=stylesheet>
    <div class="header">
      <div class="container">
        <h1>Innovation Cloud</h1>
        <p>Connect your ideas globally</p>
        <a class="btn" href="#">Learn More</a>

    <div class="nav">
      <div class="container">

    <div class="main">
      <div class="container">
        <img src="https://s3.amazonaws.com/codecademy-content/projects/innovation-cloud/cloud.svg" height="128" width="196">
        <h2>The Innovation Cloud Conference</h2>
        <p>Connect with the best minds across a wide range of industries to share ideas and brainstorm new solutions to challenging problems.</p>
        <p>Hear industry leaders talk about what worked (and what didn't) so that you can save time on your most challenging projects.</p>
        <p>Learn about the latest research and technologies that you can use immediately to invent the future.</p>

    <div class="jumbotron">
      <div class="container">
        <h2>Stay Connected</h2>
        <p>Receive weekly insights from industry insiders.</p>
        <a class="btn" href="#">Join</a>

    <div class="footer">
      <div class="container">
        <p>&copy; Innovation Cloud Conference</p>


Hmm your code looks fine. Try using a browser other than chrome.


Hmmm maybe that's it. I was actually using explorer browser.


Actually I think you need to use quotation marks here. Like this.

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


Oh you are right! I changed it and it works now. Thank you so much!


Can you please mark my reply as the solution ?


Yep did it thanks again.


Love to help :slight_smile:


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