Building Projects, One Line at a Time.
Codynn Learns
What is the type of age from this TypeScript Code?let age = 25;
21 hours ago | [YT] | 0
View 0 replies
Which file extension is commonly used for TypeScript files?
1 day ago | [YT] | 1
Which command compiles a TypeScript file?
2 days ago | [YT] | 0
What is TypeScript?
3 days ago | [YT] | 0
What is the output?function App() { const numbers = [1, 2, 3, 4]; return <h1>{numbers.filter(n => n > 2).length}</h1>;}
6 days ago | [YT] | 0
What happens when the button is clicked?function App() { const [active, setActive] = useState(false); return ( <button onClick={() => setActive(true)}> {active ? "Active" : "Inactive"} </button> );}
1 week ago | [YT] | 0
What is the output?function App() { const user = { firstName: "Sam", lastName: "Smith" }; return <h1>{user.firstName + " " + user.lastName}</h1>;}
1 week ago | [YT] | 1
What is displayed?function App() { const loggedIn = false; return <p>{loggedIn ? "Logout" : "Login"}</p>;}
What is the output?function App() { const numbers = [2, 4, 6]; return <h1>{numbers[2]}</h1>;}
What is the output?function App() { const [message] = useState("Hello"); return <p>{message.toUpperCase()}</p>;}
Load more
Codynn Learns
What is the type of age from this TypeScript Code?
let age = 25;
21 hours ago | [YT] | 0
View 0 replies
Codynn Learns
Which file extension is commonly used for TypeScript files?
1 day ago | [YT] | 1
View 0 replies
Codynn Learns
Which command compiles a TypeScript file?
2 days ago | [YT] | 0
View 0 replies
Codynn Learns
What is TypeScript?
3 days ago | [YT] | 0
View 0 replies
Codynn Learns
What is the output?
function App() {
const numbers = [1, 2, 3, 4];
return <h1>{numbers.filter(n => n > 2).length}</h1>;
}
6 days ago | [YT] | 0
View 0 replies
Codynn Learns
What happens when the button is clicked?
function App() {
const [active, setActive] = useState(false);
return (
<button onClick={() => setActive(true)}>
{active ? "Active" : "Inactive"}
</button>
);
}
1 week ago | [YT] | 0
View 0 replies
Codynn Learns
What is the output?
function App() {
const user = {
firstName: "Sam",
lastName: "Smith"
};
return <h1>{user.firstName + " " + user.lastName}</h1>;
}
1 week ago | [YT] | 1
View 0 replies
Codynn Learns
What is displayed?
function App() {
const loggedIn = false;
return <p>{loggedIn ? "Logout" : "Login"}</p>;
}
1 week ago | [YT] | 0
View 0 replies
Codynn Learns
What is the output?
function App() {
const numbers = [2, 4, 6];
return <h1>{numbers[2]}</h1>;
}
1 week ago | [YT] | 0
View 0 replies
Codynn Learns
What is the output?
function App() {
const [message] = useState("Hello");
return <p>{message.toUpperCase()}</p>;
}
1 week ago | [YT] | 1
View 0 replies
Load more