diff --git a/src/Components/EduCard.jsx b/src/Components/EduCard.jsx index e574274..5c4ee3e 100644 --- a/src/Components/EduCard.jsx +++ b/src/Components/EduCard.jsx @@ -1,6 +1,8 @@ import React from 'react' const EducationCard = ({degreename,percent="64",uniname,session="year-year",desc="details of your degree to showcase 💜"}) => { + const percentNum = Number(percent) + "%" || percent + "%" ; + console.log(typeof percentNum +" " + percentNum); return degreename && uniname && (
{degreename} -

+

- {percent}% + {percentNum}