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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Farhan AhmedRank #73 · 25K reputationPosted Jun 14, 2022, 9:26 AM EDT
Guest UserRank #877 · 2.5K reputationPosted Jun 14, 2022, 10:53 AM EDT
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 AhmedRank #73 · 25K reputationPosted Jun 14, 2022, 12:19 PM EDT
Install bootstrap use below command
npm install bootstrap