Screenshots of code samples are the worst way to ask for support. It doesn’t help you or anyone when you do that. Try sharing the code samples using https://pastebin.com/ instead.
Which theme is that and where did you download it from? If you can provide that information then it will help get you to the right place.
]]>@jdembowski The theme I’m using is WP Bootstrap StarterVersie: 3.1.0, which is to be found on the WP Repository.
My code in functions.php: https://pastebin.com/P2Ew7hmT
My code in script.js: https://pastebin.com/SeYR8mRB
wp_enqueue_script( 'myscript', get_template_directory_uri() . '/js/script.js', array('jquery') );