- Open the currently empty file located at chapter4/start/app/recipe04-01.ejs, and add the following code:
<div class="container"> <div class="mt-5"> <h1><%- title %></h1> <p><a href="https://v4- alpha.getbootstrap.com/components/alerts/" target="_blank">Link to bootstrap alerts docs</a></p> </div> </div><!-- /.container -->
- Still in the same file, add any additional content. If you choose to do so, you can add the content from the chapter4/complete/app/recipe04-01.ejs folder.
- Open the chapter4/start folder and navigate to app/partial/_js.ejs. Add the following code to the bottom of the file:
<%- partial("_recipe-04-01-js") %>
- Open the empty _recipe-04-01-js.ejs file, located in the app/partial folder.
- Add the following ...