Bug where there are three boxes instead of one

https://www.codecademy.com/en/courses/web-beginner-en-bay3D/2/3?curriculum_id=50a3fad8c7a770b5fd0007a1

The exercise displays three boxes instead of one, yet there is only set of code. The boxes do not match the code.



Your Script link to your js folder isn’t closed properly so the Div Selector can’t read the div

<script type='text/javascript'src='script.js'</script>
Should be like this <script type="text/javascript" src="script.js"></script>

You didn’t close the src attribute

1 Like

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