This document provides an overview of responsive web design concepts including layouts, units like REM and EM, media queries, viewports, and grids. It discusses static, liquid, adaptive and responsive layouts. REM units are described as root EM units. Media queries are introduced as a way to apply different styles based on screen width. Viewport meta tags are covered to enable responsive scaling. Grid systems using floats or frameworks like Bootstrap are also summarized.
The document introduces HTML forms and how to generate different form elements like buttons, text fields, checkboxes, and drop-down menus using tags like <form>, <input>, and <select>. It provides code examples for generating each element and linking an external CSS file to style the elements. The document also notes that while HTML can generate these form elements, additional scripts like JavaScript are needed to make the forms interactive and functional.
This presentation for Inclusive Design 24 (#ID24) explores how to create accessible, usable "floating" labels. Floating labels are where the label moves above form controls based on user interaction.
The document provides an overview of how to create and customize websites using Dreamweaver CS5. It discusses how to create new HTML documents and choose templates with different layouts, columns, and headers/footers. It also describes how to insert text into the design or code views, and provides tips for cleaning up HTML code when copying from Word to remove unwanted formatting.
This document provides an overview of the Vizwik platform for visual coding and creating mobile apps. It describes the cloud architecture that allows building and sharing apps. It explains the structure of apps with views, scripts, and data. It outlines how to edit views using a parts panel, view editor, and view properties. It provides examples of common view items and concludes with information on support resources.
This document provides an agenda and slides for a FEWD (Front End Web Development) class. It discusses the CSS box model, nested selectors, HTML templates, and starting the Relaxr landing page assignment. Key points include:
- The CSS box model consists of margins, borders, padding, and content
- Nested selectors allow targeting elements within other elements
- Students are instructed to create a GitHub repository and commit their weekly work
- Layout techniques like floats and HTML5 structural elements are reviewed to help structure the Relaxr assignment pages
The document discusses buttons in Android applications. It explains that buttons can contain text or images and are defined in XML layout files using <Button> elements. The document also provides an example XML layout file with an ImageButton and Button, and the corresponding Java code to set onclick listeners for the buttons and display Toast messages when each button is clicked.
This document provides instructions for creating links and menu bars in Adobe Dreamweaver. It covers creating internal and external links, inserting named anchors, and creating a Spry menu bar. The steps include selecting text to link, specifying the link path in the properties inspector, and formatting menu bar items. Guidance is provided on link paths, accessibility, and previewing the page in a browser to test the links and menu bar.
This document discusses how to use class suffixes in Joomla to customize the styling of pages, modules, and menus. Class suffixes add additional CSS classes to elements without modifying existing classes. This allows custom styling to be applied selectively. The key points covered are:
- Page class suffixes can customize individual page styling without affecting other pages
- Modules and menus also support class suffixes to customize individual instances
- Leading spaces before the suffix create a new class rather than modifying existing ones
- CSS can then target the element's original and new classes to apply custom styles
The document provides an overview of a workshop to build a shopping list app with JavaScript and jQuery. It includes the Wi-Fi network and password for attendees, as well as the agenda which involves going over starter code, learning key concepts, building the app, reviewing solutions, and discussing next steps. The document then walks through the starter code which includes HTML, CSS, and jQuery files. It explains the DOM tree and how jQuery can be used to select and manipulate elements to add interactivity like event listeners. Finally, it discusses working through the first step of the app together and reviewing the full solutions.
This document provides an introduction to CSS and HTML basics. It explains that CSS allows changing the styling of an entire website by editing just one CSS file. It then covers HTML elements and structure, how to link an external CSS stylesheet, CSS selectors like classes and IDs, common CSS properties, and tips for validating code. Tutorial exercises are recommended to practice the concepts covered.
The document discusses different types of links that can be created in Dreamweaver including text, anchor, email, and graphic links. It describes relative and absolute links. It also discusses how Adobe Device Central allows previewing content for mobile devices and how the Browser Compatibility Check feature checks for CSS issues across browsers. Links cannot be tested in Dreamweaver's Document window and must be previewed in a browser. Dreamweaver allows checking and updating links throughout a website.
Knockout.js is a JavaScript library that helps create rich, responsive user interfaces by linking a data model to a UI. It provides elegant dependency tracking to automatically update the UI when the data changes. Key benefits include declarative bindings for easily connecting UI elements to the data model, and extensibility through custom bindings. The document introduces view models as a representation of the data and operations on the UI, separate from the persisted data model and UI presentation. It explains how to create a basic view model, activate Knockout to enable bindings, and use observables to make properties trigger updates when they change.
10 ways to bind multiple models on a view in mvc code projectAkshat Kumar
This document discusses 10 different ways to bind multiple models to a single view in ASP.NET MVC. It begins with an introduction and problem statement, then details each approach with examples: 1) View model, 2) View bag, 3) View data, 4) Temp data, 5) Session, 6) Dynamic, 7) Tuples, 8) Render action, 9) JSON, and 10) Navigation properties. For each approach, it shows how to modify the controller action and view to display blog and comment data on a single view.
We have worked on Concret-5 CMS .. We think our manual will help other developers who are very new to this CMS. My Php Developer said me it is good CMS .So here we have made one simple concret-5 manual which can help php developer community
The document provides instructions for using Developer in Google Chrome to edit HTML files. It outlines how to obtain HTML files from a shared folder, access the Developer Tools in Chrome, and edit the code in the provided coding area. It then gives examples of common HTML tags for formatting text, creating links, adding color, inserting images, and more. Finally, it lists some useful websites for learning more about HTML.
The document discusses several methods for inserting text from Office documents like Word and Excel into Dreamweaver pages, including using the Import menu commands, dragging and dropping files, and copy/pasting. It also covers how to apply styles like fonts, sizes, and colors in Dreamweaver using the CSS Property inspector and creating internal and external style sheets. Additional topics covered include Dreamweaver features like the History panel, Code Inspector, snippets, and code hints.
The document discusses how to write a blog post. It explains that posts and pages make up the basic structure of a blog. It describes the default layout of a new blog with the "Hello World" post and "About" page displayed on the front page. It provides details on the two main ways to write a new post using the "Add New Post" screen or the "QuickPress" module. It gives an overview of the "Add New Post" screen interface and writing process which involves giving the post a title, writing the content, and adding tags and categories before publishing. It also recommends previewing the draft before publishing.
The document discusses creating pages and menus in WordPress. It explains that pages contain static content like "About" and "Contact" pages. To create a page, click "Add New" and add a title and content. Plugins can be used to add features to pages, like a contact form. Shortcodes embed content in pages. Menus are created by selecting pages and other items, dragging them to order, and saving. Menus then appear depending on the theme.
This document provides steps for creating and publishing a blog post using Microsoft Word 2007:
1. Create a blog account on a hosting platform like Wordpress, Blogger, or Sharepoint.
2. In Word, click "Publish" and then "Blog" to generate a blank document for the blog post.
3. Add text, pictures, and categories to the blog post document in Word.
4. Click "Publish" to upload the completed blog post from Word to the registered blog hosting account.
El documento presenta las diferencias entre normas morales, jurídicas, sociales y deontológicas. También describe las relaciones entre la ética y disciplinas como la sociología, psicología, derecho, filosofía, economía, pedagogía, metafísica, teología y religión. Finalmente, define los códigos de ética y reflexiona sobre la importancia de un código de ética para la profesión de ingeniería.
This document discusses the history and growth of mobile computing and smartphones. It explains that smartphones allow constant internet access and have led to increased social media usage on mobile devices. Many social networks like Facebook and Twitter now have over 250 million users accessing their sites via mobile phones. The document also explores how location-based social networks like Foursquare allow users to share their location with friends and check-in at venues. Marketers can take advantage of these mobile trends through branded mobile apps, location-based advertising, and social media marketing.
El documento habla sobre los delitos informáticos en Colombia. Explica que un delito informático es cualquier acción anti-jurídica que se realice a través de medios informáticos o que tenga como objetivo dañar computadoras, dispositivos electrónicos o redes de Internet. Luego detalla algunos artículos de la constitución colombiana bajo los cuales se castigan este tipo de delitos, incluyendo penas de prisión y multas. Finalmente, resume los castigos que propone la Ley Lleras para quienes publiquen contenido
Este documento describe el uso del lenguaje de chat o SMS, que es una forma abreviada de escribir palabras para hacer los mensajes más cortos y rápidos. Explica algunos ejemplos comunes de abreviaturas y cómo se propagó con el auge de la mensajería instantánea y los servicios de mensajes cortos. También describe cómo los mensajes SMS están limitados a un máximo de 160 caracteres, lo que llevó al desarrollo de abreviaturas basadas en la fonética para minimizar los costos de la comunicación.
GutsGo eCall - How To Get Started On An eMarketing Career?Ratan KK
If you are an eMarketing Quest, you need to see this presentation.
This is a presentation is made as a part of GutsGo eMarketing's eCall on Nov 29, 2012
The presentation will give you a profound insight for starting off in your career!
If you want to be part of GutsGo eCalls, please subscribe to GutsGo's iDigest at www.gutsgo.com. Thank You!
Three scrum teams were quickly scaled up across multiple locations as part of a distributed scrum project. This led to growing pains around talent acquisition, communication costs, onboarding new hires, and creating a sense of ownership among distributed teams. To address these, standardized hiring and onboarding processes were implemented, communication tools were improved, local team leads took on more responsibility to foster ownership, and initiatives like hackathons and transparency into career growth were used to promote bottom-up innovation. While distributed scrum brought challenges, focus on ownership among teams helped improve productivity and motivation.
This document discusses 10 apps that are useful for 6th grade students. It provides details on the purpose and benefits of each app, including Skitch for image manipulation, Study Blue for flashcards, Show Me for whiteboard presentations, Showbie for submitting assignments, Slack for group collaboration, Word Clouds for building vocabulary, Stop Motion for stop-motion videos, Math Chat for problem solving help, Photomath and MyScript Calculator for solving math problems. Many of the apps allow students to learn, review, collaborate, and demonstrate their understanding of class material.
El documento habla sobre las energías alternativas como alternativa a los combustibles fósiles. Define la energía alternativa como aquellas fuentes de energía diferentes a los combustibles fósiles como el carbón, gas y petróleo. Menciona algunas energías alternativas renovables como la eólica, solar, geotérmica y biomasa. Finalmente, plantea preguntas sobre cómo se produce la energía a partir del viento, sol, agua y biomasa.
Los desechos electrónicos como computadoras, teléfonos e impresoras contienen sustancias tóxicas como mercurio, plomo y cromo que contaminan el suelo y el agua cuando son desechados incorrectamente. Estos desechos se generan en grandes cantidades cada año debido al rápido desarrollo de la tecnología y al desecho prematuro de equipos aún funcionales. Es necesario establecer centros de reciclaje de desechos electrónicos y educar a la población sobre los riesgos de la contamin
The Mifos Initiative is a non-profit organization whose mission is to help financial service providers more effectively serve the world's 2.5 billion unbanked poor. To open an account, customers must provide their true full name and permanent home address. Acceptable forms of identity verification include passports, residence permits, birth certificates, and documentation showing the customer's name and address, such as recent utility bills or bank statements. Financial institutions should take a risk-based approach to identity verification, with lower risk accounts requiring less documentation.
This document summarizes a taxonomy of lecture note-taking skills and subskills proposed by Alaa M. Al-Musalli. The taxonomy is based on a similar list of listening comprehension skills, which in turn draws from taxonomies of reading comprehension skills. The proposed taxonomy aims to integrate the processes involved in listening with those in note-taking. It analyzes literature on note-taking and identifies listening and note-taking as integrated skills. The summary provides an overview of the key points and proposed taxonomy structure in under 3 sentences.
The document provides an overview of the Indian Premier League (IPL), including information about the bidding process for franchise teams, official sponsors, revenue models, the impact of IPL on other media, and gambling related to IPL. It discusses the eight franchise teams that participated in IPL, with details on their owners, captains, sponsors, and auction amounts. It then covers revenue sources for broadcasters, the government, and franchise teams from IPL through mechanisms like media rights, taxes, and sponsorships. Finally, it briefly outlines the negative impact IPL has had on other entertainment industries and TV ratings during its season, as well as gambling activities related to IPL matches.
0 AVCA 3 Transporte en la cadena alimentariaMidevago
Os alimentos precisam ser transportados de forma eficiente e segura para que possam chegar aos consumidores. Caminhões, trens e navios transportam alimentos produzidos em fazendas para centros de distribuição e mercados. Uma cadeia de suprimentos bem gerenciada é essencial para fornecer alimentos frescos a comunidades em todo o mundo.
Este documento presenta un anteproyecto para construir un amplificador de 10W. Explica que se utilizarán capacitores, un parlante de 4 ohms y un amplificador operacional TD 2003. También describe algunos conceptos teóricos sobre amplificadores de audio como que la potencia entregada al parlante no puede ser mayor a la potencia de entrada y que los parlantes se caracterizan por su impedancia y no por su resistencia. Finalmente, incluye un presupuesto para los componentes necesarios y las herramientas a utilizar.
Los sistemas operativos y sus creadoresVicentClaudia
Este documento proporciona información sobre tres pioneros de la informática: Steve Jobs, Bill Gates y Linus Torvalds. Steve Jobs fue cofundador de Apple y desarrolló productos innovadores como el Macintosh de 1984. Bill Gates fundó Microsoft y negoció la venta de MS-DOS a IBM, lo que llevó a Microsoft a dominar el mercado de sistemas operativos. Linus Torvalds desarrolló el núcleo de Linux en 1991 y lo lanzó bajo una licencia de código abierto, permitiendo su libre modificación y distribución.
This document provides definitions and explanations of acids and bases according to different theories. It discusses the Arrhenius, Brønsted-Lowry and Lewis definitions. It also covers pH, ionization constants, and the auto-ionization of water. Key points include: 1) Arrhenius defined acids/bases as producing H+/OH- ions in water, while Brønsted-Lowry defined them as proton donors/acceptors; 2) Lewis defined them based on electron pair sharing; 3) pH is a measure of H3O+ concentration; 4) the product of [H3O+] and [OH-] is constant.
This document provides guidance on effective note taking techniques for university students. It discusses 8 key aspects of note taking: 1) what note taking is, 2) why it's important, 3) the note taking process, 4) what to do before, during and after lectures, 5) common techniques like outlining and patterns, 6) what information to include, 7) using symbols and abbreviations, and 8) evaluating notes. The document recommends preparing before lectures, focusing on writing down important concepts and details in an organized way like outlining, and reviewing notes after class.
This document provides an agenda and information for FEWD Week 3. It discusses units of measurement like pixels, percentages and ems. It also covers font sizing, layouts like static, liquid, adaptive and responsive designs. Media queries and flexbox are introduced as tools for responsive layouts. Students are assigned to continue working on the Relaxr project and learn about units, layouts, media queries and flexbox through examples and exercises.
The document provides an agenda and materials for a responsive web development workshop. The 3 hour workshop will cover topics like responsive web design, media queries, CSS preprocessors, grids, and developing for devices and older browsers. It includes 105 slides and exercises for attendees to complete as they learn. The workshop will be led by Amelia Schmidt, a lead front-end developer, and aims to be interactive with questions encouraged. Attendees are provided a list of software they should have installed like Sublime Text, Xcode, Git, and virtual machines for testing across platforms.
Lavacon 2014 responsive design in your hatNeil Perlin
New to responsive design concepts in general? How to do responsive design in MadCap Flare and Adobe RoboHelp? Take a look at my presentation from Lavacon 2014.
Responsive Web Designed for your communication and marketing needsSEGIC
This presentation will give you an overview of the application of Responsive Web Designed. Obviously a live presentation would show you the application in Action
This document introduces responsive design for online help outputs. It defines responsive design as creating a single output that automatically adapts to different display devices. It discusses how responsive design works using relative size units, media queries, and fluid grids. It also provides examples of how to implement responsive design in Flare and RoboHelp without coding by using their built-in responsive features and outlines best practices for content design.
This document discusses various responsive design techniques including:
1) Using CSS media queries and transitions to smoothly resize content when browser widths change.
2) Experimenting with responsive table designs like reformatting, pie charts, and mini-graphics on narrow screens.
3) Converting navigation menus to dropdowns on small screens for easier selection.
Digibury: Getting your web presence mobile ready - David WalkerLizzie Hodgson
This document discusses how to make websites responsive using CSS frameworks. It explains that mobile usage is growing and users expect mobile-friendly sites. CSS frameworks like Foundation can help bridge skills gaps by providing preset responsive grids and functionality. The document outlines the minimum requirements for responsive design like fluid images and media queries. It provides examples of how to use Foundation's grid system and other tools to create responsive layouts and images. While frameworks have pros like speeding development, they also have cons like restricting freedom; responsive design requires going beyond simple layout changes.
Create Responsive Website Design with Bootstrap 3Wahyu Putra
This document provides an overview of how to create responsive website designs using Bootstrap 3. It discusses how Bootstrap is a popular framework for responsive, mobile-first projects. It then covers the basics of getting started with Bootstrap, including downloading Bootstrap, including the necessary files, and using Bootstrap's grid system and other components to create responsive designs.
The document discusses HTML5 Boilerplate, which is a popular front-end template that helps developers build fast, robust, and adaptable web apps or sites. It includes tools like Modernizr, which detects HTML5 and CSS3 browser support, and HTML5 Shiv, which allows styling of HTML5 elements in older IE browsers. Using HTML5 Boilerplate follows best practices for performance, like minifying code and setting the viewport.
The document is a presentation by Tom Carney about responsive web design. It discusses Carney's background in web development for over 10 years and experience with mobile and responsive design for 18 months. The presentation covers the introduction of responsive design, responsive design techniques like grids, media queries and plugins, transitioning websites to responsive design, responsive design workflows, and examples of responsive design. It addresses setting separate mobile sites versus responsive design and takes questions from the audience.
This document provides an overview and introduction to Bootstrap for beginners. It discusses what Bootstrap is, the benefits of using it, and its basic grid system including containers, rows, and columns. It also covers responsive design, integrating Bootstrap with SharePoint, common issues and bugs, and includes examples of live Bootstrap implementations. The presenter is D'arce Hess, a SharePoint interface developer, and the content is from a SharePoint Saturday event in October 2014.
How to Project-Manage and Implement a Responsive WebsiteJj Jurgens
How to Project-Manage and Implement a Responsive Website
Marcos Corro, Designer & Developer Balboa Park Online Collaborative
Jennifer Jurgens, Design & Developer Minneapolis Institute of Arts
How i made the responsive mobile version ofSayed Ahmed
The document describes the steps taken to make the website www.justetc.net responsive for mobile devices. Key steps included copying CSS and JavaScript files from the ResponsiveRabbits example project, adding them to the website folders, and inserting code in the HTML head to reference these files. Media queries were also applied to style elements differently based on screen width, such as using the desktop CSS file for widths over 800px. The outcome was deemed acceptable with minor adjustments planned such as removing the home page carousel on mobile versions.
Build tons of multi-device JavaScript applications - Part 2 : (black) Magic S...Skilld
Build tons of multi-device JavaScript applications
Part 2 : (black) Magic Sizing, Positioning, Illustrating
by Nicolas Guerrier & Ivan Berdinsky @ UA Web Forum Kiyv 2014
Web developers should learn 7 new techniques to stay current:
1. CSS3 media queries allow defining styles for specific display sizes to create responsive designs.
2. REM units set font sizes relative to the root html element font size, avoiding compounding issues of EM units.
3. HTML5 offline caching allows caching pages for offline viewing by adding directives to the .htaccess file and linking the manifest file.
Megalive99 Situs Betting Online Gacor TerpercayaMegalive99
Megalive99 telah menetapkan standar tinggi untuk platform taruhan online. Berbagai macam permainan, desain ramah pengguna, dan transaksi aman menjadikannya pilihan utama para petaruh.
Tama Tonga MFT T shirts Tama Tonga MFT T shirtsexgf28
Tama Tonga MFT T shirts
https://www.pinterest.com/youngtshirt/tama-tonga-mft-t-shirts/
Tama Tonga MFT T shirts,Tama Tonga MFT shirt,Tama Tonga MFT Sweatshirts,MFT T shirts Grabs yours today. tag and share who loves it.
10th International Conference on Networks, Mobile Communications and Telema...ijp2p
10th International Conference on Networks, Mobile Communications and
Telematics (NMOCT 2024)
Scope
10th International Conference on Networks, Mobile Communications and Telematics (NMOCT 2024) is a forum for presenting new advances and research results in the fields of Network, Mobile communications, and Telematics. The aim of the conference is to provide a platform to the researchers and practitioners from both academia as well as industry to meet and share cutting-edge development in the field.
Authors are solicited to contribute to the conference by submitting articles that illustrate research results, projects, surveying works, and industrial experiences that describe significant advances in the following areas but are not limited to.
Topics of interest include, but are not limited to, the following:
Mobile Communications and Telematics Mobile Network Management and Service Infrastructure Mobile Computing Integrated Mobile Marketing Communications Efficacy of Mobile Communications Mobile Communication Applications Critical Success Factors for Mobile Communication Diffusion Metric Mobile Business Enterprise Mobile Communication Security Issues and Requirements Mobile and Handheld Devices in the Education Telematics Tele-Learning Privacy and Security in Mobile Computing and Wireless Systems Cross-Cultural Mobile Communication Issues Integration and Interworking of Wired and Wireless Networks Location Management for Mobile Communications Distributed Systems Aspects of Mobile Computing Next Generation Internet Next Generation Web Architectures Network Operations and Management Adhoc and Sensor Networks Internet and Web Applications Ubiquitous Networks Wireless Multimedia Systems Wireless Communications
Heterogeneous Wireless Networks Operating System and Middleware Support for Mobile Computing Interaction and Integration in Mobile Communications Business Models for Mobile Communications E-Commerce & E-Governance
Nomadic and Portable Communication Wireless Information Assurance Mobile Multimedia Architecture and Network Management Mobile Multimedia Network Traffic Engineering & Optimization Mobile Multimedia Infrastructure Developments Mobile Multimedia Markets & Business Models Personalization, Privacy and Security in Mobile Multimedia Mobile Computing Software Architectures Network & Communications Network Protocols & Wireless Networks Network Architectures High Speed Networks Routing, Switching and Addressing Techniques Measurement and Performance Analysis Peer To Peer and Overlay Networks QOS and Resource Management Network-Based Applications Network Security Self-organizing networks and Networked Systems Mobile & Broadband Wireless Internet Recent Trends & Developments in Computer Networks
Paper Submission
Authors are invited to submit papers through the conference Submission System by July 06, 2024. Submissions must be original and
The advent of social media has revolutionized communication, transforming the way people connect, share, and interact globally. At the forefront of this digital revolution are visionary entrepreneurs who recognized the potential of the internet to foster social connections and create communities. This essay explores the founders of some of the most influential social media platforms, their journeys, and the lasting impact they have made on society.
Mark Zuckerberg, along with his college roommates Eduardo Saverin, Andrew McCollum, Dustin Moskovitz, and Chris Hughes, founded Facebook in 2004. Initially created as a social networking site for Harvard University students, Facebook rapidly expanded to other universities and eventually to the general public. Zuckerberg's vision was to create an online directory that connected people through their real-life social networks.
Twitter, founded in 2006 by Jack Dorsey, Biz Stone, and Evan Williams, brought a new dimension to social media with its microblogging platform. Dorsey envisioned a service that allowed users to share short, real-time updates, limited to 140 characters (now 280). This concise format encouraged rapid sharing of information and fostered a culture of brevity and immediacy.
Kevin Systrom and Mike Krieger co-founded Instagram in 2010, focusing on photo and video sharing. Systrom, who studied photography, wanted to create an app that made mobile photos look professional. The app's unique filters and easy-to-use interface quickly gained popularity, amassing over a million users within two months of its launch.
Instagram's emphasis on visual content has had a significant cultural impact. It has popularized the concept of influencers, giving rise to a new industry where individuals can monetize their popularity and reach. The platform has also revolutionized digital marketing, enabling brands to connect with consumers in more authentic and engaging ways. Acquired by Facebook in 2012, Instagram continues to be a dominant force in social media, shaping trends and cultural norms.
Reid Hoffman founded LinkedIn in 2002 with the goal of creating a professional networking platform. Unlike other social media sites focused on personal connections, LinkedIn was designed to connect professionals, facilitate job searches, and foster business relationships. The platform allows users to create professional profiles, network with colleagues, and share industry insights.
LinkedIn has become an indispensable tool for job seekers, recruiters, and businesses. It has transformed the job market by making it easier to find and connect with potential employers and employees. LinkedIn's influence extends beyond job searches; it has become a hub for professional development, thought leadership, and industry news. Hoffman's vision has significantly impacted how professionals manage their careers and build their networks.
Jan Koum and Brian Acton co-founded WhatsApp in 2009, aiming to create a simple, reliable..
1. FEWD - WEEK 7
WILL MYERS
Freelance Front End Developer
SLIDES
http://www.slideshare.net/wilkom/fewd-week7-slides
2. FINAL PROJECT MILESTONE 2
By week 7, you should have submitted pseudo code and a
draft of the HTML/CSS for your application. This week, you'll
focus on drafting the JavaScript and jQuery you'll need for
your application.
3. YOUR WEEKLY FEWD GITHUB
REPOSITORY
Use the '+' button in the top-left of GitHub Desktop
(Create tab)
Create a new repository called 'FEWD_Week7'
Choose the [home]/FEWD folder for the local path
Open this repo folder in your editor
Commit the changes and publish the FEWD_Week7
repository to github.com
4. YOUR WEEKLY WORKING FILES
FROM ME
To get the week7_working_files you should just be able to
select the ga-fewd-files repository in GitHub Desktop and
press 'Sync'. This should pull in this weeks folder from
github.com.
If you any difficulties you should just re-clone the ga-fewd-
files repository.
Copy the whole week7_working_files into your FEWD_Week7
repository and commit and publish to github.com
8. DEBUGGING
This will tell you where to start your hunt
Image not moving
find the code that makes the image move
None of my code works
Syntax error, check console
9. DEBUGGING: LEVEL 1
Check for errors (red text, aligned right) in console To access
debugging console
PC: CTRL+SHIFT+J
Mac: COMMAND+OPTION+J
Click the error
The location may not be correct but is a good place to start
Ex: Unbalanced brackets or parentheses
10. DEBUGGING: LEVEL 2
So no red errors but not getting the right answer? Try
console.log
Ex:
var stringOfNames="";
["Bob","Joe"].forEach(function(element){
stringOfNames-=element+",";
console.log(stringOfNames);
});
11. DEBUGGING: LEVEL 3
Use the debugger in Chrome
Set a breakpoint
Run the code
Step through the code until you get to the error
Variable values display on the right
You can switch to the console to run code or check value
of variable
12. DEBUGGING: LEVEL 4
Get help!
1. Try "Your preferred search engine" search
2. Be ready to clearly articulate the problem (Write out what
your problem is)
3. If nothing, ask instructor
14. AGENDA
This week we are bringing HTML/CSS back into the
equation. Let's return to responsive layouts and units as
discussed in Week 3.
Responsive Layouts
REM/EM
Media Queries
15. Let's read through the refresher notes for Week 3 again. Go
to:
https://gist.github.com/wmyers/d2fedd6f2a52d272ad9e
16. A BIT MORE ON EMS VS REMS
em: a sized based on the width of the letter "m"
rem: a "root" em
Some browsers have issues with fonts sized in percents, em
is better for fonts.
17. LAYOUTS - STATIC VS LIQUID VS ADAPTIVE VS
RESPONSIVE
Did anyone read this web page?
http://blog.teamtreehouse.com/which-page-layout
18. LAYOUTS - ELASTIC
One other layout options is to use emfor layout widths as
well as for font-sizes. This means that the page will resize
according to the end user's preferred text size.
This blog post from 2009 is still useful for explaining fixed
versus fluid versus elastic layouts (though most of the
example links are no longer correct):
https://www.smashingmagazine.com/2009/06/fixed-vs-
fluid-vs-elastic-layout-whats-the-right-one-for-you/
But remember Flexbox is slowing making these older ways
of doing responsive websites obsolete.
19. BOXES EXERCISE
Let's start building a layout using boxes. We will eventually
make this layout responsive. Open
week7_working_files/responsive_boxes/readme.pdf in your
browser. You can use floator display:inline-
blockor Flexbox, for columns.
Recreate Boxing 1 using html and css. You can use the
week3_working_files/layout_challenge/5.magazine files as a
starting point if using Flexbox. Otherwise use one of the
1.two-column layouts. Copy the files into
week7_working_files/responsive_boxes folder.
Note that you need to have a hidden element.
20. RESPONSIVE DESIGN IS MORE DESIGN THAN CODE.
Go to this website
Open Chrome Dev Tools (CTRL + Alt + I)
Set the Dock Side to the right and then click on the mobile
icon
http://www.anderssonwise.com/
Also look at the site on your phone browser. Discuss what is
making the site responsive.
21. FIXED VS RESPONSIVE
Looking for comparisons of fixed versus responsive layouts.
Checkout these Fixed sites
UPS.com
Google.com
Checkout these Responsive Sites
Generalassemb.ly
Designmodo examples
22. MOBILE BOXES
Continuing with our boxing exercise. Keeping the same
HTML, add/overwrite classes in your CSS, below your
existing code, to make the boxes look like Boxing 2.
23. FIXED LAYOUT
We have used fixed layouts in our designs up to this point
- e.g in Relaxr pages
Relies on a container of fixed width - usually 960px or
980px
Has margin:0 auto(or similar) to center the container
24. RESPONSIVE LAYOUT
Different styles for different screen widths
Uses an elastic/fluid layout
Fluid - Sized in percentages
Elastic - Sized in ems
25. MEDIA QUERIES - USAGE
Please read the first part of regarding syntax.this page
For a list of @mediatypes:
https://developer.mozilla.org/en-
US/docs/Web/CSS/@media#Media_types
For building responsive web pages you will use the following
syntax:
@media only screen and
(max-width: Npx) (min-width: Npx) (max-device-width:Npx) (min-device-
For tablets
(orientation: portrait) (orientation: landscape)
26. MEDIA QUERIES - USAGE
Separate multiple clauses with "and"
@media only screen and (max-width: 769px)
and (orientation: landscape) {
...
}
Standard media queries sizes
Small: up to 768px
Medium: 769-991px
Large: 992px+
27. MOBILE DISPLAY - VIEWPORT
The viewport meta tag (placed in the <head>) lets the
browser know that it has to scale your webpage
responsively on every device.
Combining the viewport meta tag with responsive CSS will
make your web page work across different mobile browsers.
Otherwise the mobile browser will assume a fixed layout of
between 800px to 1024px, and the user will have to zoom in
to different sections of the page.
<meta name="viewport" content="width=device-width, initial-scale=1">
28. VIEWPORT - DIFFERENT PIXELS
See this page to understand how device independent pixels
are required to enable the viewport meta tag to scale a
mobile browser page correctly:
https://developers.google.com/speed/docs/insights/ConfigureV
hl=en
29. VIEWPORT - USER SCALING
There is an additional attribute for the viewport meta tag:
user-scalable=none
<meta name="viewport" content="width=device-width,
initial-scale=1 user-scalable=none">
This prevents the user from using default browser zoom
functionality (including pinch-zooming) - the implication is
that responsive CSS and the standard use of the viewport
meta tag should make zooming unnecessary.
However this is essentially anti-accessibility:
http://codepen.io/absolutholz/post/user-scalable-no-evil-
or-slightly-not-evil
30. VIEWPORT - 300MS TAP IN ANDROID
On the flip-side of the argument against using user-
scalable=none, a couple of years ago, if you did use it
then (in Android) you would remove a mandatory 300
millisecond delay caused by waiting to detect a user double-
tap.
https://developers.google.com/web/updates/2013/12/300ms-
tap-delay-gone-away
Following more recent changes, Chrome and Firefox now
remove the 300ms tap delay if your web page contains the
content="width=device-width"attribute instead.
This means you can retain pinch zooming.
31. MOBILE DISPLAY - 300MS TAP IN IOS
Mobile Safari has a more complicated approach to solving
the 300ms delay by detecting for fast taps and slow taps:
http://developer.telerik.com/featured/300-ms-click-delay-
ios-8/
However there is a JavaScript library called FastClick which
can be included which can be used to remove the 300ms
click delay across all mobile browsers:
https://github.com/ftlabs/fastclick
32. MEDIA QUERY USAGE
/*inline boxes into columns*/
.box{
display:inline-block;
}
@media only screen and (max-width:768px){
/*insert responsive css here
eg: stack inline boxes*/
.box{
display:block;
}
}
If I put the media query before
.box{
display:inline-block;
}
will this work as expected? See .this link
33. RESPONSIVE BOXES
Returning to our boxing layout, use media-queries to make
your boxing web page responsive so that it changes from
Boxing 1 to Boxing 2 when the browser window width is
reduced.
34. TRANSITIONS TO MAKE MEDIA QUERY
CHANGES SMOOTHER
We will look more at CSS animations and transitions in Week
9 and Week 10.
Feel free to research this further in the meantime.
35. LAYOUTS - GRIDS
Grids are ways of creating complex fixed or fluid layouts,
involving nested rows and columns. Many grids have up to
12 columns and unlimited rows. NB Grids tend to use
floats for creating columns.
This article shows you how to create a responsive fluid grid
layout that uses media-queries to change to a single column
layout when the page gets too small.
http://www.sitepoint.com/understanding-css-grid-systems/
http://codepen.io/SitePoint/pen/dPqqvN
36. GRIDS - BOOTSTRAP
Grids are often implemented using popular third party CSS
libraries, that provide tested cross-browser complex layouts
that developers can use out of the box.
The Bootstrap CSS library has grid layout classes (available
when you include and link bootstrap.css in your <head>):
http://www.sitepoint.com/understanding-bootstrap-grid-
system/
The Bootstrap grid system is also responsive. You apply
different styles to your column <div>s and the relevant one
will be automatically used as your window resizes.
37. GRIDS
It is not actually that hard to build your own grid. In fact we
have already been doing so with things like the magazine
layout in Week 3.
A simple column layout is still a grid, more complex grid
layouts can still utilize simple CSS layout techniques:
https://css-tricks.com/dont-overthink-it-grids/
(NB: this layout uses floats. We could use
display:inline-blockor Flexbox instead.)
38. LAYOUTS - THE NEW GRID DISPLAY
PROPERTY
There is also a new display:gridproperty, which is a
recent CSS addition like display:flex. At this time it is
still better to use Flexbox (display:flex).
41. LEVEL TWO
Determine what content is extra
Does that h1 need an h2 under it?
Will that one liner get the visitor to understand my site
or is it extra?
Determine what content needs to be visible
Is it necessary to show my entire nav if there are other
ways of getting to navigation?
Identify extra styling
Do my columns need a border if they're stacked?