1

I am trying to display my progress bar using flex so that I can have a tag before the progress bar but it is not getting applied. I am not sure as to why it is not happening.

Please suggest.

Screenshot

About.js

import React from "react";
import "./About.css";
import { ProgressBar } from "react-bootstrap";

function About() {
  return (
    <div className="MainAboutContainer">
      <div classNames="Skills">
        <h3 className="SkillTag">hi</h3>
        <div className="SkillLevel">
          <ProgressBar now={60} label={`${60}%`} />
        </div>
      </div>
    </div>
  );
}
export default About;

About.css

.Skills {
  display: "flex";
}

1 Answer 1

4

You should remove the 's' in ClassNames="Skills" to make ClassName="Skills"

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.