I applied for a job and I received an email with a link with some questions as the first step of the selection process, and I don´t know how to answer it:
WHERE SHOULD YOU INCLUDE THE CSS AND JAVASCRIPT FILES IN YOUR CODE?
a) In the head tag
b) Bottom of the document
Both a) and b) are correct
I think CSS should go in the head tag, and Javascript in the Bottom. However there is no correct answer apparently. I think C should be the good one but its not totally correct, since CSS should only go in the head.
I did some research, looked Stackoverflow but I honestly don´t know how to answer this question. As I said, since CSS should go in the head, but Javascript *USUALLY goes at the bottom, I don´t know what to choose.
It seems like you know what you want to answer so why not just do that? Pretend it’s an exam, in a locked room and you can’t get help, and just pick what you think is correct.
Getting an answer correct because someone told you the answer is no better than failing the answer.
so if u r creating your CSS and Jscript in separate files from your HTML then it will be a link in the head. same as linking google fonts a so fourth. hope im steering in right direction. new to all this
Also, I’m pretty sure if you read my reply again you might get a feel for what I would answer and would suggest you answer. Again, I might be wrong, so don’t get mad at me if it’s wrong.