Tuesday, November 17, 2020
Friday, November 13, 2020
Monday, November 9, 2020
Practice Test : Java Programming and Web Technologies Quiz
Practice Test : Java Programming and Web Technologies Quiz
Friday, November 6, 2020
Fetch List of Employees in React
Fetch List of Employees in React
List of Employees present at some URI i.e http://127.0.0.1:9091/employee/fetch
[{"id": 1001,"name": "Dinesh","salary": 10000.0},{"id": 1002,"name": "Kumar","salary": 10000.0},{"id": 1003,"name": "Dinesh","salary": 10000.0},{"id": 1004,"name": "Kumar","salary": 10000.0}]
React Output:
1001 | Dinesh | 10000 |
1002 | Kumar | 10000 |
1003 | Dinesh | 10000 |
1004 | Kumar | 10000 |
React Code to Fetch this Data:
Friday, October 30, 2020
Tuesday, October 20, 2020
Spring Boot Todos App
Spring Boot Todos App
import React, { useEffect, useState } from "react";
Tuesday, October 6, 2020
Cyber Security Awareness Important Links
Cyber Security Awareness Important Links:
· NEW: Cybersecurity Awareness Training Premium
Saturday, October 3, 2020
Install and Use Bootstrap in React
Install and Use Bootstrap in React
1. Visit: https://www.npmjs.com/package/bootstrap for Information.
2. In React Application run npm install bootstrap
3. Use Bootstrap: import in jsx, i.e in App.js
import '../node_modules/bootstrap/dist/css/bootstrap.min.css'
Now you can use Bootstrap elements:
Example use Bootstrap Button:
Friday, October 2, 2020
Handling Form Inputs in React in less lines of code
Handling Form Inputs in React (less lines of code)
App.js Code Snippet:
Add User List in React - A Simple Example to Add data to List
Add User List in React
A Simple Example to Add to List
const MyForms = () => {
const initialList = [
'userA',
'userB',
'userC',
];
const [username, setUsername] = useState();
const [userdata, setUserList] = useState(initialList);
const onInputChangeHandler = event => {
event.preventDefault();
setUsername(event.target.value)
}
const onSubmitHandler = event => {
if (username) {
setUserList(userdata.concat(username));
}
event.preventDefault();
}
return (
<form onSubmit={onSubmitHandler}>
<h1>{username}</h1>
<h2>
{
userdata.map((user) => <li> {user}</li>)
}
</h2>
UserName: <input type="text" value={username}
onChange={onInputChangeHandler} />
<input type="submit" value="Add User" />
</form>
)
}
Create a Digital Clock using HTML and JavaScript
Create a Digital Clock using HTML and JavaScript <! DOCTYPE html> < html > < head > <...
Followers
Search This Blog
Popular Posts
-
MG-CEIT Course Feedback Form Step1: Like below three pages for the updated course information ...
-
Software Development Tools Presentation From the moment you begin developing software, whether as a freelancer for a startup or wo...
-
कोरोना को जाने प्रश्न (1) :- क्या कोरोना वायरस को ख़त्म किया जा सकता है उत्तर:- नहीं! कोरोना वायर...
-
CDAC Certifications Courses List IT Applications Certificate Course in Business Computing Certificate Course in Global su...
-
Most Important Java Interview Questions Core Java , JDBC , Spring , Hibernate , Servlet , JSP Interview Questions
-
PL-SQL Concepts Presentations. PL SQL is procedural language or structured language. The main feature of SQL (non-procedural)...
-
Car2Go Website Comment if you need code
-
Use Request Dispatcher Servlet in creating simple Login Form We are going to create a Login Form Here. At the end of this section, y...
-
Welcome to the world of Java Programming What is Java? Java is programming language and platform first released in 1995. Jav...
-
Remove/add Fontawesome npm uninstall angular-font-awesome ng add @fortawesome/angular-fontawesome@0.6.0 Add Fontawesome to the proj...