Why is the navbar not getting rendered using react-bootstrap ? | Sololearn: Learn to code for FREE!

0

Why is the navbar not getting rendered using react-bootstrap ?

I imported react-bootstrap and used the below code but the content is not rendering as it shoud be , rather it is just showing the links .................... <Navbar collapseOnSelect expand="lg" bg="dark" variant="dark"> <Navbar.Brand href="#home">React-Bootstrap</Navbar.Brand> <Navbar.Toggle aria-controls="responsive-navbar-nav" /> <Navbar.Collapse id="responsive-navbar-nav"> <Nav className="mr-auto"> <Nav.Link href="#features">Features</Nav.Link> <Nav.Link href="#pricing">Pricing</Nav.Link> <NavDropdown title="Dropdown" id="collasible-nav-dropdown"> <NavDropdown.Item href="#action/3.1">Action</NavDropdown.Item> <NavDropdown.Item href="#action/3.2">Another action</NavDropdown.Item> <NavDropdown.Item href="#action/3.3">Something</NavDropdown.Item> <NavDropdown.Divider /> <NavDropdown.Item href="#action/3.4">Separated link</NavDropdown.Item> </NavDropdown> </Nav> <Nav> <Nav.Link href="#deets">More deets</Nav.Link> <Nav.Link eventKey={2} href="#memes"> Dank memes </Nav.Link> </Nav> </Navbar.Collapse> </Navbar>

1/9/2021 7:53:47 PM

Shubhank Kulshreshtha

3 Answers

New Answer

0

Instead of posting the text can you post your code bit?

0

Chris C. Bro i posted the code only 😅

0

https://code.sololearn.com/WVD1oG2Mf01Q/?ref=app