I’m calling js in function file but it’s not working

Hi I’m trying to call javascript in WordPress function file but it seems it’s not working

<?php

function com_web() {
    wp_enqueue_script('main-cw-js', get_theme_file_uri('/build/index.js'), array('jquery'), '1.0', true);
    wp_enqueue_style('google-fonts', '//fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700,700i|Roboto:100,300,400,400i,700,700i');
    wp_enqueue_script('font-awesome', 'https://kit.fontawesome.com/bd6f15565d.js');
    wp_enqueue_style('com_main_styles', get_theme_file_uri('/build/style-index.css'));
    wp_enqueue_style('com_extra_styles', get_theme_file_uri('/build/index.css'));
}
add_action('wp_enqueue_scripts', 'com_web');