HTML faylida CSS va JavaScript fayllaridan foydalanish uchun CSS va JavaScript fayllarini HTML fayliga kiritishingiz kerak. Buni quyidagi kodni HTML faylidagi `<head>` teg ichida qo'shish orqali amalga oshirishingiz mumkin: HTML: ''php <head> <link rel="stylesheet" type="text/css" href="signup.css"> <script type="text/javascript" src="signup.js"></script> </head>'''Ammo shuni yodda tutingki, JavaScript kodi `document.querySelector usulidan foydalanib, ularni olish uchun DOMni birinchi marta yuklashni talab qiladi. Agar kod `<head> tag ` ichida ishlasa, unda u `<body> tag ichida hech narsani topolmaydi, chunki `<head> tag ichida quyidagi kodni qo'shish kerak:
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence