JavaScript JavaScript and the DOM Getting a Handle on the DOM A Simple Example

Peter Retvari
Peter Retvari
Full Stack JavaScript Techdegree Student 8,391 Points

My code is not working ?

Hi folks, could you please take a look at my code?

https://w.trhou.se/pxziihmbzt

I checked the script part in the index.html and it's fine, I double checked the app.js file too. I wonder if you could help investigate what went wrong, cause I can't make the H1 turns to red ?

1 Answer

The code seems fine however it looks like you have a typo in your script tag.

app.js not apps.js

<script src="app.js"></script>