Hello everyone, in general, gave the project a layout. The head is always dissatisfied with something, says again govnokod write. In the head just trash, but it says nothing where and in what place, what is wrong. Help me find a bug! (If you have one)

<head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content=""> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title></title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script> <link rel="stylesheet" href="/css/owlcarousel/owl.carousel.min.css"> <link rel="stylesheet" href="/css/owlcarousel/owl.theme.default.min.css"> <link rel="stylesheet" type="text/css" href="/css/style.css"> <script src="/js/main.js"></script> </head> <footer> <script src="/js/owlcarousel/owl.carousel.min.js"></script> <script src="/js/owlcarousel/jquery.mousewheel.js"></script> </footer> 
  • where is your body? buddy - Excess Suslik
  • And what are your futs do scripts? - Air
  • @Air what is it forbidden? - Alexey Shimansky
  • You can also compile all the plug-in css and js libraries into one file and minify if necessary. - Dmitry Polyanin
  • In the head itself, I do not see anything criminal. Perhaps (but here you decide) it is worth asking other employees of your company or the boss himself for an explanation. Communicating with other developers in the company helps to relax and make contact, and in the development of personal opportunities in programming. - Dmitry Polyanin

4 answers 4

Document checking completed. No errors or warnings to show.

 <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content=""> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Document</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <link rel="stylesheet" href="/css/owlcarousel/owl.carousel.min.css"> <link rel="stylesheet" href="/css/owlcarousel/owl.theme.default.min.css"> <link rel="stylesheet" type="text/css" href="/css/style.css"> </head> <body> <footer> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script> <script src="/js/main.js"></script> <script src="/js/owlcarousel/owl.carousel.min.js"></script> <script src="/js/owlcarousel/jquery.mousewheel.js"></script> </footer> </body> </html> 

    First of all, there are a lot of online services checking html code, javascript code and css code for validity - you can use them, they will show errors (look in Google).

    For example, http://csslint.net/ (for css)

    Regarding your code, what immediately catches your eye

    1) </footer> 2 times

    2) inside <footer></footer> visual information is placed, and you only have the connection of scripts, as a result, it is redundant

    3) you have no <body></body> in which <footer> and other visual information would have to be (what the user will see)

    As I understand it, you only brought the <head> section of the site Remove <footer> from it - most likely it leads to the fact that the scripts placed in it will not run (maybe they will, but you shouldn’t put tags from <body> ) to put it at random)

    • Who said that you can not connect scripts in the footer? - Alexey Shimansky
    • Nobody, did I write somewhere that you can’t insert scripts in tags? in this case there is a head, there is no body, in footer only (!) scripts are the question - why then footer? which is also not in the body (unless the css forms it visually into something), in any case there is an extra closing tag - Zhihar

    Add a title. Most likely, the customer wants to get from you not only the layout of the site, but also the opportunity to promote the site. The lack of title, the connection of the favicon and the meta tags "og-" alerted him. In addition, consider also what other helpers will write in the answer to your question.

      It turned out all the easier he does not like the sequence of connections css and js. The head is still at work, in the title until nothing is all at the layout stage. Thank you all for your help and reasonable options for problems in his head.