2
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<nav id='nav' class="navbar navbar-expand-lg fixed-top navbar-inverse" style=" background-color:black">
<a class="navbar-brand" href='#'>
<i style="color:white;" class="fa fa-home fa-w-18 fa-1x"></i>
<span style=" color:white; font-size: 20px;font-weight:bold;" href='#'>Home</span>
</a>
<button style='background-color:white;' class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse"
aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span style='color:black' class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto" data-bind="foreach: router.navigationModel">
<li class="nav-item" data-bind="css: { active: isActive }" onclick="ready()">
<a class="nav-link" style="color:white; font-size:20px;font-weight:bold;" data-bind="attr: { href: hash }, text: title"></a>
</li>
</ul>
<form id="searchbar" class="form-inline mt-2 mt-md-0 invisible">
<input id="search1" class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
<button id="search" type="button" class="btn btn-primary" style="margin: 5px">Search</button>
<button id="reset" type="reset" class="btn btn-primary">Reset</button>
</form>
</div>
</nav>
How can I for this navbar
equal, only oriented vertically on the right side of the page?