Build a Favorite Icon Toggler - Build a Favorite Icon Toggler

Tell us what’s happening:

my js file doesnt’ get attached to my index file and when i click on hearts i see nothing,my code passes all the test but it doesn’t work!

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Favorite Icon Toggler</title>
    <link rel="stylesheet" href="styles.css" />
  </head>

  <body>
  
  </body>
</html>
/* file: styles.css */

/* file: script.js */

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0

Challenge Information:

Build a Favorite Icon Toggler - Build a Favorite Icon Toggler

you need to add the code to attach them together, it’s impossible your code passes all the tests until then, because without it the JS code is not going to run

there is a Note about this right below user story 7, right above the Run the Tests button

Hi there,

I don’t see a where you are including your script.js file in your index.html file. Do you remember how to do that?