Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

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‭

16 posts
83%
+8 −0
Meta Should "Hello", "Thank you", "Morning" and similar greetings be removed from posts?

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...

2 answers  ·  posted 3y ago by Kevin M. Mansour‭  ·  last activity 3y ago by dmckee‭

Question discussion
81%
+7 −0
Q&A What's the difference between placing <script> in the <head> and placing in the <body>?

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...

1 answer  ·  posted 3y ago by Kevin M. Mansour‭  ·  last activity 3y ago by Kevin M. Mansour‭

80%
+6 −0
Q&A Splitting a large HTML file into two or more HTML files without JavaScript

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...

posted 3y ago by Kevin M. Mansour‭  ·  edited 3y ago by Kevin M. Mansour‭

Answer
80%
+6 −0
Meta How much research effort is expected from the asker by the community?

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 ...

3 answers  ·  posted 3y ago by Kevin M. Mansour‭  ·  last activity 3y ago by meriton‭

77%
+5 −0
Q&A What's the difference between placing <script> in the <head> and placing in the <body>?

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...

posted 3y ago by Kevin M. Mansour‭

Answer
77%
+5 −0
Q&A What's the difference between =, == and === operators in JavaScript?

While learning JavaScript, I started to see =, == and === operators. What's the difference between them?

3 answers  ·  posted 3y ago by Kevin M. Mansour‭  ·  last activity 3y ago by hkotsubo‭

75%
+4 −0
Meta Is it correct to downvote answers to bad questions?

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...

1 answer  ·  posted 3y ago by Kevin M. Mansour‭  ·  last activity 3y ago by Alexei‭

Question discussion
71%
+3 −0
Meta Is it correct to ask customer service-related questions?

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...

1 answer  ·  posted 3y ago by Kevin M. Mansour‭  ·  last activity 3y ago by Alexei‭

Question discussion
71%
+3 −0
Q&A Storing input from different frontend webpages of a multi page contact form

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...

posted 3y ago by Kevin M. Mansour‭  ·  edited 3y ago by elgonzo‭

Answer
66%
+2 −0
Q&A Is it possible to mutate the DOM directly from HTML, without any JavaScript?

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...

posted 3y ago by Kevin M. Mansour‭  ·  edited 3y ago by Kevin M. Mansour‭

Answer
66%
+2 −0
Q&A What's the difference between =, == and === operators in JavaScript?

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...

posted 3y ago by Kevin M. Mansour‭  ·  edited 3y ago by Kevin M. Mansour‭

Answer
60%
+1 −0
Q&A How to get string length in D?

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...

posted 3y ago by Kevin M. Mansour‭  ·  edited 3y ago by Kevin M. Mansour‭

Answer
60%
+1 −0
Q&A Uncaught ReferenceError: variable is not defined

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...

1 answer  ·  posted 3y ago by Kevin M. Mansour‭  ·  edited 3y ago by Alexei‭

60%
+1 −0
Q&A Uncaught ReferenceError: variable is not defined

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. ...

posted 3y ago by Kevin M. Mansour‭

Answer
60%
+1 −0
Q&A Error: Cannot find module 'is-color-stop' in Tailwind CLI

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 ...

0 answers  ·  posted 3y ago by Kevin M. Mansour‭

Question npx tailwind-css
50%
+1 −1
Q&A How to call a function from ruby-on-rails (HTML)?

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...

posted 3y ago by Kevin M. Mansour‭  ·  edited 3y ago by Kevin M. Mansour‭

Answer