Select any three world cities. Create a webpage that shows the following informa
ID: 669931 • Letter: S
Question
Select any three world cities. Create a webpage that shows the following information for each city:
- Name
- A short description.
- A picture
- A google map object showing the address of the city: Look at this:http://www.w3schools.com/googleapi/google_maps_basic.asp
The page has also two buttons: next and previous. "Next" button takes you to the next city, while "Previous" button takes you to the previous one.
Please follow the following guidelines in your design:
1- [Best-practice] Use HTML5 tags as much as possible: http://www.w3schools.com/html/html5_syntax.asp
2- [Best-practice] separate formatting from design: all formatting must be defined in CSS files, as explained in the class and in the book.
3- [Best-practice] your page must be designed in an elegant manner. By elegance I mean a beautiful and meaningful page structure. Read the following article to get some ideas: http://www.smashingmagazine.com/2008/01/10-principles-of-effective-web-design/.
Also here read about how to design a page layout using tables: http://www.ironspider.ca/webdesign102/tables4layout2.htm
4- [responsiveness] Your design must be responsive: http://www.w3schools.com/html/html_responsive.asp
5- [best-practice] All HTML code must be in a separate .js file that is linked to the main file: http://www.w3schools.com/tags/att_script_src.asp
Explanation / Answer
<html class="no-js lt-ie10 lt-ie9 lt-ie8" id="ie7" lang="en-US">
<![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie10 lt-ie9" id="ie8" lang="en-US">
<![endif]-->
<!--[if IE 9]>
<html class="no-js lt-ie10" id="ie9" lang="en-US">
<![endif]-->
<!--[if !IE]><!-->
<html class="no-js" lang="en-US">
<!--<![endif]-->
<head>
<meta charset="UTF-8" />
<title>Action for TEAM </title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="http://actionforindia.org/xmlrpc.php" />
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
<!--[if lt IE 9]><script src="http://actionforindia.org/wp-content/themes/3clicks/js/excanvas/excanvas.compiled.js"></script><![endif]-->
<!-- All in One SEO Pack 2.2.6.2 by Michael Torbert of Semper Fi Web Design[384,426] -->
<meta name="description" itemprop="description" content="Creating Social Impact by Promoting Innovation & Leadership. We Offer Training & Guidance To Social Entrepreneurs." />
<meta name="keywords" itemprop="keywords" content="NGO, Social NGO, Entrepreneur, Innovation, Leadership, Scalability, NGOs list India, Join NGO, NGOs, NGOs work, Join NGOs, NGO Internship" />
<meta name="google-site-verification" content="9MX4iWySeprSPUGJDzuHlRYX4dvvI7DnUFyGwtAnbfs" />
<link rel="canonical" href="http://actionforindia.org/" />
<!-- /all in one seo pack -->
<link rel="alternate" type="application/rss+xml" title="Action For India » Feed" href="http://actionforindia.org/feed/" />
<link rel="alternate" type="application/rss+xml" title="Action For India » Comments Feed" href="http://actionforindia.org/comments/feed/" />
<script type="text/javascript">
window._wpemojiSettings = {"baseUrl":"http://s.w.org/images/core/emoji/72x72/","ext":".png","source":{"concatemoji":"http://actionforindia.org/wp-includes/js/wp-emoji-release.min.js?ver=4.2.5"}};
!function(a,b,c){function d(a){var c=b.createElement("canvas"),d=c.getContext&&c.getContext("2d");return d&&d.fillText?(d.textBaseline="top",d.font="600 32px Arial","flag"===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
</script>
<style type="text/css">
img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
</style>
<link rel='stylesheet' id='g1-social-icons-css' href="http://actionforindia.org/wp-content/plugins/g1-social-icons/css/main.css?ver=1.1.4" type='text/css' media='all' />
<link rel='stylesheet' id='rs-plugin-settings-css' href="http://actionforindia.org/wp-content/plugins/revslider/rs-plugin/css/settings.css?rev=4.3.6&#038;ver=4.2.5" type='text/css' media='all' />
<style id='rs-plugin-settings-inline-css' type='text/css'>
.g1-layer-small-black {
padding:5px 20px;
position:absolute;
font-size:18px;
line-height:24px;
color:#000;
background-color:rgb(255,255,255);
background-color:rgba(255,255,255, 0.75);
}
.
.tp-caption a {
color:#ff7302;
text-shadow:none;
-webkit-transition:all 0.2s ease-out;
-moz-transition:all 0.2s ease-out;
-o-transition:all 0.2s ease-out;
-ms-transition:all 0.2s ease-out;
}
.tp-caption a:hover {
color:#ffa902;
}
</style>
<link rel='stylesheet' id='rs-plugin-captions-css' href="http://actionforindia.org/wp-content/plugins/revslider/rs-plugin/css/captions.php?rev=4.3.6&#038;ver=4.2.5" type='text/css' media='all' />
<link rel='stylesheet' id='mb.YTPlayer_css-css' href="http://actionforindia.org/wp-content/plugins/wpmbytplayer/css/mb.YTPlayer.css?ver=2.0.3" type='text/css' media='screen' />
<link rel='stylesheet' id='g1_screen-css' href="http://actionforindia.org/wp-content/themes/3clicks/css/g1-screen.css?ver=3.4.1" type='text/css' media='screen' />
<!-- This site uses the Google Analytics by Yoast plugin v5.4.3 - Universal enabled - https://yoast.com/wordpress/plugins/google-analytics/ -->
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','__gaTracker');
gaTracker('create', 'UA-60802136-1', 'auto');
gaTracker('set', 'forceSSL', true);
gaTracker('send','pageview');
</script>
<!-- / Google Analytics by Yoast -->
<script type='text/javascript' src="http://actionfor.org/wp-includes/js/jquery/jquery.js?ver=1.11.2"></script>
<script type='text/javascript' src="http://actionfor.org/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1"></script>
<script type='text/javascript' src="http://actionfor.org/wp-content/plugins/revslider/rs-plugin/js/jquery.themepunch.plugins.min.js?rev=4.3.6&#038;ver=4.2.5"></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://actionforindia.org/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://actionforindia.org/wp-includes/wlwmanifest.xml" />
<link rel='shortlink' href="http://actionforindia.org/" />
<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
<script type="text/javascript" src="http://actionforindia.org/wp-content/themes/3clicks/js/respond/respond.src.js"></script></head>
<body class="home page page-id-124 page-template page-template-g1_template_page_full_sections page-template-g1_template_page_full_sections-php g1-font-regular-s g1-font-important-m g1-tl-squircle g1-tr-squircle g1-br-squircle g1-bl-squircle g1-preheader-open-overlay g1-preheader-layout-wide-narrow g1-preheader-tl-square g1-preheader-tr-square g1-preheader-br-square g1-preheader-bl-square g1-header-position-fixed g1-header-layout-wide-semi g1-header-comp-left-right g1-primary-nav--unstyled g1-header-tl-square g1-header-tr-square g1-header-br-square g1-header-bl-square g1-header-searchform-standard g1-precontent-layout-wide-narrow g1-precontent-tl-square g1-precontent-tr-square g1-precontent-br-square g1-precontent-bl-square g1-content-layout-wide-narrow g1-content-tl-square g1-content-tr-square g1-content-br-square g1-content-bl-square g1-prefooter-layout-wide-narrow g1-prefooter-tl-square g1-prefooter-tr-square g1-prefooter-br-square g1-prefooter-bl-square g1-footer-layout-wide-narrow g1-footer-comp-01 g1-footer-tl-square g1-footer-tr-square g1-footer-br-square g1-footer-bl-square g1-secondary-none g1-primary-full" itemscope itemtype="http://schema.org/WebPage">
<div id="page">
<div id="g1-top">
<!-- BEGIN #g1-header -->
<div id="g1-header-waypoint">
<div id="g1-header" class="g1-header" role="banner">
<div class="g1-layout-inner">
<div id="g1-primary-bar">
<div id="g1-id"><h1 class="site-title"><a href="http://actionforindia.org"><img id="g1-logo" src="http://actionforindia.org/wp-content/uploads/2015/05/logo.png" alt="Action For India" data-g1-src-desktop="http://actionforindia.org/wp-content/uploads/2015/05/logo.png" data-g1-src-desktop-hdpi="http://actionforindia.org/wp-content/uploads/2015/05/logo.png" />
<noscript><img src="http://actionforindia.org/wp-content/uploads/2015/05/logo.png" alt="Action For India" /></noscript><img id="g1-mobile-logo" src="http://actionforindia.org/wp-content/uploads/2015/05/logo.png" alt="Action For India" data-g1-src-mobile="http://actionforindia.org/wp-content/uploads/2015/05/logo.png" data-g1-src-mobile-hdpi="http://actionforindia.org/wp-content/uploads/2015/05/logo.png" /></a></h1></div><!-- #id -->
<!-- BEGIN #g1-primary-nav -->
<nav id="g1-primary-nav" class="g1-nav--unstyled g1-nav--collapsed">
<a id="g1-primary-nav-switch" href="#">Menu</a>
<ul id="g1-primary-nav-menu" class=""><li id="menu-item-2183" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-124 current_page_item menu-item-2183 g1-menu-item-level-0 g1-type-drops"><a href="http://actionforindia.org/"><div class="g1-nav-item__title">Home</div></a></li>
<li id="menu-item-2185" class="g1-type-drops menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-parent-item menu-item-2185 g1-menu-item-level-0 g1-type-drops"><a href="http://actionforindia.org/about-us/"><div class="g1-nav-item__arrow"></div><div class="g1-nav-item__title">About Us</div></a>
<div class="g1-submenus"><ul>
<li id="menu-item-2186" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2186 g1-menu-item-level-1"><a href="http://actionforindia.org/about-us/"><div class="g1-nav-item__title">Overview</div></a></li>
<li id="menu-item-2458" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-parent-item menu-item-2458 g1-menu-item-level-1"><a href="http://actionforindia.org/team/"><div class="g1-nav-item__arrow"></div><div class="g1-nav-item__title">Who We Are</div></a>
<ul>
<li id="menu-item-2461" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2461 g1-menu-item-level-2"><a href="http://actionforindia.org/team/board-of-trustees/"><div class="g1-nav-item__title">Board of Trustees</div></a></li>
<li id="menu-item-2460" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2460 g1-menu-item-level-2"><a href="http://actionforindia.org/team/board-of-directors/"><div class="g1-nav-item__title">Board of Directors</div></a></li>
<li id="menu-item-2462" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2462 g1-menu-item-level-2"><a href="http://actionforindia.org/team/management-team/"><div class="g1-nav-item__title">Management Team</div></a></li>
</ul>
</li>
<div class="g1-searchbox g1-searchbox--standard g1-searchbox--wide-semi">
<a class="g1-searchbox__switch" href="#">
<div class="g1-searchbox__arrow"></div>
<strong> </strong>
</a>
<form method="get" id="searchform" action="http://actionforindia.org" role="search">
<div class="g1-outer">
<div class="g1-inner">
<input type="text" value="" name="s" id="s" size="15" placeholder="Search..." />
<div class="g1-form-actions">
<input id="searchsubmit" class="g1-no-replace" type="submit" value="Search" />
</div>
</div>
</div>
</form>
</div>
</nav>
<!-- END #g1-primary-nav -->
</div><!-- END #g1-primary-bar -->
</div>
<div class="g1-background">
</div> </div>
</div>
<!-- END #g1-header -->
<!-- BEGIN #g1-precontent -->
<div id="g1-precontent" class="g1-precontent">
<div id="g1-precontent-shortcode" class="g1-layout-inner">
<ul class="g1-grid"><li class="g1-column g1-one-half g1-valign-middle">
<!-- START REVOLUTION SLIDER 4.3.6 fixed mode -->
<div id="rev_slider_1_1_wrapper" class="rev_slider_wrapper">
<div id="rev_slider_1_1" class="rev_slider">
<ul> <!-- SLIDE -->
<li data-transition="random" data-slotamount="7" data-masterspeed="300" >
<!-- MAIN IMAGE -->
<img src="http://actionforindia.org/wp-content/uploads/2015/05/place1.jpg" alt="place1" data-bgposition="center top" data-bgfit="cover" data-bgrepeat="no-repeat">
<!-- LAYERS -->
</li>
<!-- SLIDE -->
<li data-transition="random" data-slotamount="7" >
<!-- MAIN IMAGE -->
<img src="http://actionforindia.org/wp-content/uploads/2015/05/place1y.jpg" alt="place1y" data-bgposition="center top" data-bgfit="cover" data-bgrepeat="no-repeat">
<!-- LAYERS -->
</li>
<!-- SLIDE -->
<li data-transition="random" data-slotamount="7" >
<!-- MAIN IMAGE -->
<img src="http://actionforindia.org/wp-content/uploads/2015/05/home1.jpg" alt="home1" data-bgposition="center top" data-bgfit="cover" data-bgrepeat="no-repeat">
<!-- LAYERS -->
</li>
<!-- SLIDE -->
<li data-transition="random" data-slotamount="7" >
<!-- MAIN IMAGE -->
<img src="http://actionforindia.org/wp-content/uploads/2015/05/397050_10100101272166585_79347606_n.jpg" alt="397050_10100101272166585_79347606_n" data-bgposition="center top" data-bgfit="cover" data-bgrepeat="no-repeat">
<!-- LAYERS -->
</li>
</ul>
<div class="tp-bannertimer"></div> </div>
</div>
</body>
</html>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.