CodeToCreation retweeted
Gemini Prompt Tip: When you give Gemini a persona, it can help you get a better response.
Keep the persona simple. A clear job title works better than a complicated character.
Try including “Act as a [profession]…” at the beginning of your prompt to see how a persona changes the style of Gemini’s response.
CodeToCreation retweeted
What is the correct syntax for referring to an external script called 'gfg.js'?
(A) <script name="gfg.js">
(B) <script href="gfg.js">
(C) <script src="gfg.js">
(D) None of these
CodeToCreation retweeted
CSS tip:
Use Flexbox for responsive layouts. It simplifies the process of aligning elements and creating dynamic designs.
CodeToCreation retweeted
“Don’t write code for the machine. Write code for the human who will maintain it.”
– Code should be maintainable and understandable by others, not just performant.
CodeToCreation retweeted
What will be the output of the following code snippet in JavaScript?
var a = "5";
var b = 5;
console.log(a == b);
A) true
B) false
C) undefined
D) null
CodeToCreation retweeted
Which symbol is used to denote a preprocessor directive in C?
A) @
B) #
C) $
D) %
CodeToCreation retweeted
How to get better at coding
Write code
Read code
Document code
Run into bugs
Solve bugs
Rewrite code
Compare code with other code
CodeToCreation retweeted
What will be the output of the following JavaScript code?
console.log(typeof NaN);
A) number
B) string
C) undefined
D) object
CodeToCreation retweeted
STOP making fun of different programming languages
C is FAST
HTML is POPULAR
Go is COOL
Python is BEAUTIFUL
PHP
JavaScript is AWESOME
React is SMART
Rust is INTRIGUING









