From 36c8653ee17b813609e824bf6b5ca0cb8d40f9fb Mon Sep 17 00:00:00 2001 From: "sigonasr2, Sig, Sigo" Date: Tue, 14 Dec 2021 16:35:11 +0000 Subject: [PATCH] Look and feel included. --- equations/src/App.js | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/equations/src/App.js b/equations/src/App.js index c4bc1ae..987358b 100644 --- a/equations/src/App.js +++ b/equations/src/App.js @@ -15,7 +15,13 @@ function EquationGroup(p) { return <> ( - {arr.map((eq,i)=>Array.isArray(eq)?:eq==="×"||eq==="-"||eq==="+"||eq==="÷"?:)} +
+ + + +
+ {arr.map((eq,i)=>Array.isArray(eq)?:eq==="×"||eq==="-"||eq==="+"||eq==="÷"?:)} +
) } @@ -31,9 +37,9 @@ function EquationOperator(p) { setEquation(eqArr) },[op]) - return <> - {operator} - + return } function EquationValue(p) { @@ -48,7 +54,9 @@ function EquationValue(p) { },[item]) return
- {val} +
{data[val]}