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.

Activity for Kevin M. Mansour‭

Type On... Excerpt Status Date
Question 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 Error(message); ^ Error: Cannot find module 'is-color-stop' Require s...
(more)
over 2 years ago
Answer 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. If you really want to use `const`, so the solution is to define the variable outside the block-...
(more)
over 2 years ago
Question Uncaught ReferenceError: variable is not defined
I have a variable defined using `const` keyword. ```javascript function Text() { const variable = "Hello!"; } console.log(variable); ``` When I try to access this variable, I get: `Uncaught ReferenceError: variable is not defined` What am I missing?
(more)
over 2 years ago
Answer 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() { string s = "Hello, World!"; write(s.length); } ``` Learn more about D in Documen...
(more)
almost 3 years ago
Answer 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: ```js const test = 1; console.log(test); // expected output: 1. ``` In the above example, we have assigned the value `1` to the variable `test` using the assignment operator `=`. Her...
(more)
almost 3 years ago
Question What's the difference between =, == and === operators in JavaScript?
While learning JavaScript, I started to see `=`, `==` and `===` operators. What's the difference between them?
(more)
almost 3 years ago
Answer A: What's the difference between placing <script> in the <head> and placing in the <body>?
Placing `` in the ``: Placing `` in the `` might affect the performance since the content won't load until the browser complete downloading the JavaScript files that placed in the `` while also might produce a blank white screen for 4 Or 5 seconds Or maybe more (depends on the size of the JavaScri...
(more)
almost 3 years ago
Question What's the difference between placing <script> in the <head> and placing in the <body>?
While learning JavaScript, I started to see sometimes the `` is placed in the `` and sometimes it is placed in the ``, What's difference between placing the `` in the `` and placing in the ``, and What's the best for more performance and efficiency?
(more)
almost 3 years ago
Answer 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 for HTML and XML documents. It represents the page so that programs can change the document str...
(more)
almost 3 years ago
Question 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 online tutorials and courses on YouTube and many other platforms that may solve your problem. So, simply...
(more)
almost 3 years ago
Question 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 of this behavior (The behavior of Off-Topic questions), so my question is: Is it correct to downvote an...
(more)
almost 3 years ago
Question 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 they are just noise and might not be helpful for future readers since all of use are here to help so t...
(more)
almost 3 years ago
Answer 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 `app.html.erb`: ```ruby ``` As you seen above, first I linked our Ruby HTML file to our ...
(more)
almost 3 years ago
Answer 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 domains can access them, or restrict access to pages having the same secure origin. - Client-si...
(more)
almost 3 years ago
Answer 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 seen iFrame is miss used as well. It should be never used as an integral part of your site, but...
(more)
almost 3 years ago
Question 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-related questions: - How do I get my Facebook developer account confirmation code? - Will Apple...
(more)
almost 3 years ago