Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
All right! Up until now, we have been looking at the sample site in desktop browsers and been simulating the mobile screen size by changing the window size. So what we are going to do now is actually take a look at the real site in the emulators to see how the sites work and respond on simulated devices. That will give us the ability to test things like layout and soft keyboard response and all that kind of stuff. So once again, here is the web site in the desktop screen, and you can see that this is the finished version of the homepage, and here's the Tour page with tour information, and here's the Contact page.
So let's go see how this looks in the emulators. I am going to switch over to the Android and Windows phone emulators, and then we will take a look at how it works in the Mac on the iPhone. So here is my Android emulator, and I am going to click on the logo up here to get it to go back to the homepage, and the homepage will load up. Okay, so here we are in the homepage, and let me scroll down, we can see that we're getting the right logo. The nav bar is vertical and styled differently, just like we want it to be. Here is the Tour Spotlight, and the Tour Spotlight is followed by the Monthly Specials, so the video element is not showing up here.
And so we will just go ahead and scroll on down. You can see that the single-column layout is here, and we'll scroll all the way down. That looks pretty good. All right, let's go back and take a look at our redesigned Tours page. So let's go back up to the top, and I'm going to click on Tours, and this will take us to the Tours page. Okay, here's the Tours page, so let's go ahead and scroll down. And you can see we now have our single-column layout, which looks great, and we'll scroll down to the tours.
And remember, the tours start out with the text hidden, so what I am going to do is click on one, and you can see that when I click on it, the hover effect is being simulated by the emulator, which reveals the text for that particular tour. So I can scroll and I can have a look, and if I don't want to see it any more, I can go scroll on something else, and I'll take a look at this tour. So that seems to be working just fine, so let's scroll back up to the top, and we will take a look at the updated contact form.
I'll click on the contact form right here. That will take us to the Contact page. All right, so here are on the Contacts page, let's scroll down and take a look at the form, because that's the most important part of this page. So there's the Personal Information. You can see that the labels are now top aligned with the related form fields in the form input types. We are getting our placeholder text right here. I am going to click on this field, and we will see the keyboard come up, right, there is the keyboard.
So let's take a look at what happens when we click in some of the fields that we put special input types on. So there's the email address, and it looks like in this case the Android emulator doesn't give us the email-optimized keyboard, but let's take a look at the Phone number. So you notice put the focus on the Phone field, the soft keyboard changed to be optimized for phone input. So that's the value of using those new HTML5 form input types. So that looks pretty good. I think it looks pretty much the way we wanted it to.
Let's go ahead and scroll down and take a look. Here is the check boxes. You can see check boxes are no longer in three columns-- it's one single column. And here's our field for, "When we are thinking about touring," and I'll put the focus in there and you can see that the keyboard changes back to the text. And for entering comments, I get the keyboard. And so, this looks like it's working pretty well. Okay, let's switch over to Windows Phone. That's this guy over here. So I am going to click on the icon, which is being displayed with our data URI now.
And I'll scroll down, so here's our single-column layout. There is the Tour Spotlight. Okay, so the homepage looks pretty good. Let's go ahead and scroll on up, and we'll click on the Tours page. Okay, here's our Tours page. We will scroll down. Okay, here's our Tour. Let's try that clicking. So if I go ahead and click, you'll see that I am getting the tour information from each one of these guys, and that's exactly what we expected.
Okay, so that looks good for the Tours page. All right! Let's go back to the Contact page. Here is the Contact page. Let's take a look at the form, and you can see here the form is also laid out properly. The labels are now on top of the elements, and when I click, I am going to get the keyboard for that particular element. I will click here in the Email field. And it looks like the Windows Phone emulator is not yet providing customized keyboards for different data types, but that's okay.
And here's our check boxes, and everything is aligned in one column, and the Comments field is also the right size. Okay, so things look good on Android and they look good on Windows Phone. Let's go ahead and take a look at things on the iPhone Simulator now. Okay, so here we are on the Mac, and we're looking at the iPhone Simulator. So here is the homepage for Explore California, and I fired this up from my localhost web server. So I'm here on the homepage, and let's scroll down and take a look at the homepage.
So here's our nice single-column layout, all the way down, looks like that's great. All right, let's scroll back up to the nav bar, so we can see that our data URI-based logo is showing up, and here's our vertical navigation bar. Let's go ahead and click on the Tours page, and here's the Tours page, so let's scroll down. So I am going to scroll down to the Tours, and of course we want to make sure that that pseudo-hover effect is working correctly, so I am going to click on Backpack California. You can see that's working. The text gets revealed, that's great. And I am going to do the same thing here.
Okay, that looks pretty good too, and let's try one more. So it looks like that's working just fine, so let's go ahead and take a look at the Contact page. Okay, here's the Contact page. Let's scroll down to the form, so we see that we are getting our single-column layout here, the image is gone, and here is our Contact form, and the required fields have a red bold side there. Let's go ahead and click in the Name field. And here you are seeing the real benefit of having those top-aligned form fields, because you see that when clicked in the name field here on the iPhone, the UI zoomed in, so I can type into this field, and if his name label was off to left-hand side over here, I wouldn't be able to see it any more.
So, we can see there are labels are top aligned the way they are supposed to be, and I click in the Email field, and you can see that when I click in the Email field, the iPhone is switching the keyboard to be the keyboard optimized for email input. And I'm going to do the same thing with Phone, and you can see that the Phone keyboard now shows up, and this is because again, I am using those new HTML5 input types for things like email and phone. And I think if I scroll down to the Zip code, that's a number--yep, that's the number keyboard there. So that all appears to be working well.
Let's zoom back out and click Done, and let's go ahead and take a look at the check boxes. Yeah, the check boxes are all lined up in single file they way they should be, and it looks like there is no Date field here on the iPhone, that's okay. So I will zoom back out. And the comments field is also being sized correctly, and you can see it takes the full screen when I click on it. So it looks like the behavior that we are getting is right on the iPhone, so at this point in the workflow, we would go ahead and start looking at things on real devices.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 101328 Viewers
61 Video lessons · 88090 Viewers
71 Video lessons · 71944 Viewers
56 Video lessons · 103758 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.