Chore door project, step 22

I’m doing the chore door project in the Javascript Interactive Websites course:

On step 22, it asks me to create two images with the url given:

So, I typed

<div class="title-row">
        <img src="">
        <img src="">

However, when I run the code, the stars don’t appear.

Note that .title-row is not referenced in the .css or .js file at this stage, so it can’t be that I’ve somehow accidentally hidden it.

Has the image somehow been removed? Or is there a problem with my code?


<!DOCTYPE html>
    <title>Chore Door!</title>
    <link href="./style.css" rel="stylesheet" type="text/css">
    <link href="" rel="stylesheet" type="text/css">

    <div class="header">
      <img src="">
      <div class="title-row">
        <img src="">
        <img src="">
      <div id="door-row">
        <img id="door1" class="door-frame" src="">
        <img id="door2" class="door-frame" src="">
        <img id="door3" class="door-frame" src="">
    <script type="text/javascript" src="./script.js"></script>


body {
  background-color: #010165;
  margin: 0px;

.header {
  background-color: #00ffff;
  text-align: center;

.door-frame {
  cursor: pointer;
  padding: 10px;


let doorImage1 = document.getElementById("door1");
let doorImage2 = document.getElementById("door2");
let doorImage3 = document.getElementById("door3");
let botDoorPath = "";
let beachDoorPath = "";
let spaceDoorPath = "";

door1.onclick = () => {
  doorImage1.src = botDoorPath;
door2.onclick = () => {
  doorImage2.src = beachDoorPath;
door3.onclick = () => {
  doorImage3.src = spaceDoorPath;

also if I check the console it responds with the 403 for me, do you see that as well?
if so it could be a permissions issue.

okay so I did some digging, and it’s there, it has inline styles of 10px x 10px which is making it very small! and the blue is hard to see.

have a look at it in the inspector and edit the inline styles, then go from there.
Have fun :),

ps, all your code so far is fine, but in the Js, you seem to be referencing the image id, rather than the variable in which you are storing the ID.

Unless you’ve declared that else where, you may wanna reference

doorImage1.onclick … instead of door1.onclick