Hi Team
I need some help, want to create an increase and decrease button that will both be clicked in react app. when the button is default 0 must be blur non clicked, when increase total value must also increase.
Hi Team
I need some help, want to create an increase and decrease button that will both be clicked in react app. when the button is default 0 must be blur non clicked, when increase total value must also increase.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Farhan AhmedPosted Jun 14, 2022, 4:19 PM
Install bootstrap use below command
npm install bootstrap
Guest UserPosted Jun 14, 2022, 2:53 PM
Hi Do i get rid of this error on my App.js
"Module not found: Error: You attempted to import ../node_modules/bootstrap/dist/css/bootstrap.min.css which falls outside of the project src/ dire"
Also last question have five files Footer.js and import them all on my App.js see below because i want to implement a unique function on App.js that decrease and increase values.
// App.js
import Header from './components/Header';
import Navbar from './components/Navbar';
import Content from './components/Content';
import Sidebar from './components/Sidebar';
import Footer from './components/Footer';
import "../node_modules/bootstrap/dist/css/bootstrap.min.css";
function App() {
return (
);
// function to show decrease and increase functionality
function Increase_Decrease() {
}
}
export default App;
Farhan AhmedPosted Jun 14, 2022, 1:26 PM