Chore Door project. Robot will not appear on clicking door image. Steps 1 - 10

The first ten steps are to have the chorebot appear when clicking the door image. This is not occuring when I click it. I have watched the tutorial video and gone through all the steps.


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

    <div class='door-row'>
      <img id='door1' src="">
    <script type="text/javascript" src="script.js"></script>


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

#door1 {
  cursor: pointer;


let doorImage1 = document.getElementByID('door1');
const botDoorPath = '';
doorImage1.onclick = () => {
doorImage1.src = botDoorPath;

Your browser contains a console (f12 -> console) which might contain contain errors which can useful/helpful to helping you identify the problem

looking at the code, I would guess getElementByID isn’t quite right. Id should be cammelcase. (even though ID itself is an abbreviation of identifier)