Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Posts by Kevin M. Mansour
I just started to see greetings in posts like: "Hello", "Thank you", "Morning" and other types of greetings. Should this greetings be removed from posts or we just keep them? Sometimes I think th...
While learning JavaScript, I started to see sometimes the <script> is placed in the <head> and sometimes it is placed in the <body>, What's difference between placing the <scri...
You can not do it with HTML only. In the past there was HTML Imports, but it is Obsolete since Chrome 73 according to MDN and deprecated in Chrome 80. You might want to use iFrame. However I have...
Simply, there are search engines which you can find answers to your questions. Although there is Stack Overflow which answers many questions. Additionally that there is documentation and there are ...
Placing <script> in the <head>: Placing <script> in the <head> might affect the performance since the content won't load until the browser complete downloading the JavaScri...
While learning JavaScript, I started to see =, == and === operators. What's the difference between them?
Sometimes I see bad questions (e.g Off-Topic questions) but I see perfect high quality answers to it but since the question is Off-Topic, so I think that who answered the question is being a victim...
I didn't find any guidance on On-Topic - Help Center about customer service-related questions. So, I am asking: Is it correct to ask customer service-related questions? Example of customer service...
Cookies vs Local Storage vs Session Storage. Cookies Has different expiration dates (both the server or client can setup expiration date). Cookies themselves can specify which pages from which...
No. Short Answer No, it is not possible to mutate the Document Object Model (DOM) via HTML. You can mutate via JavaScript. Long Answer The Document Object Model (DOM) is a programming interface...
1. = = is an assignment operator in JavaScript, it is used to assign a value to a variable. e.g: const test = 1; console.log(test); // expected output: 1. In the above example, we have ass...
Strings in D have .length property which is used to calculate the number of characters in a string. Note: Spaces are calculated. Here is an example: import std.stdio; void main() { s...
I have a variable defined using const keyword. function Text() { const variable = "Hello!"; } console.log(variable); When I try to access this variable, I get: Uncaught ReferenceError...
const is block-scoped. Which means that const can be only accessed inside the block-scope that it were declared in. Block-scope means code enclosed by Curly braces {}. Functions are also blocks. ...
While compiling the code for production in Tailwind CLI using: npx tailwindcss -m -o ./build/tailwind.css --purge "./**/*.html" I get: node:internal/modules/cjs/loader:941 const err = new ...
Hope I understood what do you mean. I guess for example you have app.js (which contains your JavaScript function) and app.html.erb (which you want to call JavaScript function from). OK. In your ap...