From 71ed95ef939d6004086b74fc457a5f9a7c9b7627 Mon Sep 17 00:00:00 2001 From: Indra <32155472+ispandey81@users.noreply.github.com> Date: Fri, 19 Jul 2019 14:20:59 +0800 Subject: [PATCH] Fixed bootstrap navbar and type-alignment links Committed changes to fix issue #123 - https://github.com/jhu-ep-coursera/fullstack-course4/issues/123 --- assignments/assignment3/Assignment-3.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assignments/assignment3/Assignment-3.md b/assignments/assignment3/Assignment-3.md index 630749e28..3ac53bd7a 100644 --- a/assignments/assignment3/Assignment-3.md +++ b/assignments/assignment3/Assignment-3.md @@ -29,7 +29,7 @@ Here is what you will need to complete the assignment: * Tablet mockup illustration should correspond to Bootstrap `sm`-based classes * Mobile mockup illustration should correspond to Bootstrap `xs`-based classes -8. Navbar: Create a navbar that scrolls away together with the page (the navbar should become invisible and is not fixed to the top when you scroll the page down). The navbar should have a company name (i.e., `navbar-brand` class) called "Food, LLC" that is aligned to the left side of the navbar. (*See* [https://getbootstrap.com/docs/3.3/components/#navbar](http://getbootstrap.com/components/#navbar). *Make the browser window narrower to see the mobile menu button appear in the first example shown at the provided link.*) +8. Navbar: Create a navbar that scrolls away together with the page (the navbar should become invisible and is not fixed to the top when you scroll the page down). The navbar should have a company name (i.e., `navbar-brand` class) called "Food, LLC" that is aligned to the left side of the navbar. (*See* [https://getbootstrap.com/docs/3.3/components/#navbar](https://getbootstrap.com/docs/3.3/components/#navbar). *Make the browser window narrower to see the mobile menu button appear in the first example shown at the provided link.*)

For desktop and tablet view, the navbar should not contain anything else. No other buttons should be visible. (_Hint: use 'visible-xs' class._) @@ -37,11 +37,11 @@ For desktop and tablet view, the navbar should not contain anything else. No oth

The dropdown menu should take up the entire width of the browser window. Make sure the dropdown menu has a background color set that distinguishes it from the rest of the content.

-(_Hint: See_ [_https://getbootstrap.com/docs/3.3/components/#navbar_](http://getbootstrap.com/components/#navbar) _and Lecture 31 for examples on how to accomplish this._) +(_Hint: See_ [_https://getbootstrap.com/docs/3.3/components/#navbar_](https://getbootstrap.com/docs/3.3/components/#navbar) _and Lecture 31 for examples on how to accomplish this._) 10. Page Heading. The page heading that says Our Menu should be centered within the browser window. You must use a Bootstrap class to accomplish this.

-(_Hint: look for a Bootstrap class that centers text, see_ [_https://getbootstrap.com/docs/3.3/css/#type-alignment_](http://getbootstrap.com/css/#type-alignment)_._) +(_Hint: look for a Bootstrap class that centers text, see_ [_https://getbootstrap.com/docs/3.3/css/#type-alignment_](https://getbootstrap.com/docs/3.3/css/#type-alignment)_._) 11. Create a single really tall section that will use the Bootstrap Grid and take up the entire width of the browser window (minus some margins, of course) for all views: desktop, tablet, and mobile. To make the section really tall, you can either fill it out with a LOT of text or simply set its height to something like 1000px. It needs to be tall enough to cause scrolling down to be required to view the bottom of the section. Make sure its background color is set to distinguish it from the rest of the content. (_Hint: don't forget to have an element with a class='container' or class='container-fluid' wrapping your grid. Remember that to have the grid do something "always", i.e., no matter what browser window size, use the `col-xs-`... classes. In this case, since we want the section to take up the entire row, use `col-xs-12`._)