gradmasters
Search this blog, coursera introduction to css3 week 2 [assignment solution].
fig1. Select CSS folder |
fig2. Select hw1 file and paste the code |
Note: Don't just copy the code, this is just for your reference only. See and check where you have gone wrong 👍😉
very very thanks
can I get the html file ?
Sry this blog doesn't support Download feature. Copy the code and paste in the file.Instructions are given above.
Post a Comment
CSS-Week2-practice quiz
Get better grades with Learn
82% of students achieve A’s after using Learn
World History: Human Legacy
Modern World History
True Choose matching term 1 The padding and margin properties can be styled with unique colors. / Padding and margin do not take a color. / 2 This is probably a typo, why? .body{ margin: 10px; } a, The period in front of the word body means the browser will look for a CLASS called body, not the element. b, The period in front of the word body means the browser will look for an ID called body, not the element. / The period indicates a class, not an id. Regardless, but it would be bad form to give any id the same name as a tag. / 3 The id selectors are part of the DOM. / When a page is broken down into a DOM, the id information is stored in the tree. / 4 The margin is the space between elements. /*Margin, padding, and the border all combine to determining how much space an element takes up on the browser. Review the Box Model lecture. */ Don't know?
Coursera: HTML, CSS, and JS for Web Developers
Assignments and projects by ellie zheng, see more on my personal webpage: http://people.duke.edu/~lz91/.
This is a fabulous course for an introduction of HTML, CSS, and Javascript given by Prof. Yaakov Chaikin from Johns Hopkins University on Coursera. The rating for this course on Coursera is 4.9 out of 5 -- you see its high quality and popularity. I've also taking other similar courses from the web as well (e.g., the HKST one on Coursera), and this course is no-doubt the best.
The basics and fundenmental concepts of the languages are introduced systematically and clearly, and one would have a big picture and a clear idea about how these langurages are built and structured. This is really a college-style course, not like many other courses which just teach you about the syntex and some really simple usages.
On the other hand, this course is also practical and handy. Many examples and templates are given, even a "field-trip" into a real client-involved project. I can easily build my own webpage and web application after this course. I will highly recommend it to everyone.
Week 1: Introduction to HTML5
In this module, Prof. Chaikin gives an introduction of HTML, including environmen setup, basics of HTML and HTML5 tags. Coding assignment is not required for this module.
Week 2: Introduction to CSS3
In this module, CSS3 basics, conflict resolution, text styling, the box model, responsive designs and the Twitter Bootstrp are introduced. Assignment requirment for this module can be found here . We are asked to implement a responsive webpage including a header and three tiles, based on the 12-column grid layout. Basic styles including margins, paddings, and positioning, etc. are also need to be applied. My solution for this assignment can be found at http://elliezheng.github.io/Coursera-HTML_CSS_JS/module2-solution/index.html .
Week 3: Coding the Static Restaurant Site
In this module, Prof. Chaikin leads us through a real project: from tips about visiting the client and setups, to the coding of a static Chinese restaurant website. Intensive details about Twitter Bootstrap and useful tips of styling headers, navigation bars, menue buttons, tiles, footers, etc. are given -- we are getting closer to a real project!
The assignment requirment for this module can be found here . This assignment features a responsive design (especially for mobile users), and more functionalities about menus and navigations in Twitter Bootstrap. My solution for this assignment can be found at http://elliezheng.github.io/Coursera-HTML_CSS_JS/module3-solution/index.html .
Week 4: Introduction to Javascript
Fundamentals of Javascript is introduced in the module. By using "fundamental", I'm not saying it's simple; instead, they are quite essential if one wants to step further into JS. As Prof. Chaikin said, even some seasoned developers may not know all the contents. Seven data types (6 primitive + object), the concept of "scope" and common language construct are explained in details. The most powerful part of JS, as I would say, is that functions are first-class data types as well as objects. This allow nesting and passing around functions and link funtions to objects. Here we learn the concepts of "this" and using function constructors to create objects. We also learn about fake namespaces and IIFEs (immediately invoked function expressions) that deals with conflicts.
The assignment requirment for this module can be found here . This assignment asks us to use IIFEs to group two pieces of codes seperately where there are conflicts on namespace, and selectively print out different messages defined in those pieces of scripts based on some criteria. My solution for this assignment can be found at http://elliezheng.github.io/Coursera-HTML_CSS_JS/module4-solution/harder/index.html . Look at the concole and js-source to see the functionality.
Week 5: Using Javascript to Build Web Applications
The last module contains an introduction to HTTP, Ajax and JSON besides more contents of Javascript. We've learned handling event with Javascript, GET & POST using Ajax, and passing data via JSON. An example is given by completing building the restaurant website (a single-page application) where the contents are loaded dynamically.
The assignment requirment for this module can be found here . This assignment asks us to dynamically generate the homepage with random "Special" category, i.e., a random menu-category page is shown when clicking on the "Special" tile. My solution for this assignment can be found at http://elliezheng.github.io/Coursera-HTML_CSS_JS/module5-solution/index.html .
Congrats to myself for completing this course!
Authors and Contributors
You can @mention a GitHub username to generate a link to their profile. The resulting <a> element will link to the contributor’s GitHub Profile. For example: In 2007, Chris Wanstrath ( @defunkt ), PJ Hyett ( @pjhyett ), and Tom Preston-Werner ( @mojombo ) founded GitHub.
Support or Contact
Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.
- GDPR Privacy Policy
- _IBM Cybersecurity
- _Google Digital Garage
- Our Policys
- _privacy-policy
- _Disclaimer
- _Terms-conditions
- Introduction to CSS3 Coursera week 2 Quiz Answer
Advanced Selectors Quiz
Q1) Assume that this code is linked together correctly.
color: red;
padding:10px 5px;
background: black;
font-family: cursive;
background: red;
color: green;
font-family: Times, serif;
color: black;
}
<p>Hi</p>
What color font is used to display “Hi ”?
- browser default
Q2) Assume that this code is linked together correctly.
<p class = "plain fancy">Hi</p>Copy
What color font is used to display “Hi” ?
Q3) Assume that this code is linked together correctly.
<p class = "fancy plain">Hi</p>Copy
Q4) What is the correct HTML for referring to an external style sheet?
- <style src="mystyle.css"></style>
- <link rel="stylesheet" url="mystyle.css">
- <link rel="stylesheet" href="mystyle.css">
- <link rel="stylesheet" src="mystyle.css">
Q5) What is the correct HTML for referring to an external style sheet stored in a subfolder called css?
- <link rel="stylesheet" href="css/mystyle.css">
- <link rel="css/stylesheet" href="mystyle.css">
- <style src="css/mystyle.css">
- <link rel="css/stylesheet" href="css/mystyle.css">
Q6) The styling contained in the style tag has precedence over the style attribute.
Q7) Which CSS property controls the text size?
- font-height
Q8) How do you display hyperlinks without an underline ?
- a {underline:none;}
- a {decoration:no-underline;}
- a { text-decoration:none; }
- a {text-decoration:no-underline;}
Q9) In the following code snippet, what value is given for the right margin?
margin: 5px 10px 3px 8px;
Q10) The # symbol specifies that the selector is a/an
Q11) Which of the following would be used to create class called button which has a width of 750px, a height of 30px and the color of the text is black?
- #button { height: 30px; width: 750px; text: black; }
- #button { height: 30px; width: 750px; color: black; }
- .button { height: 30px; width: 750px; text: black; }
- .button { height: 30px; width: 750px; color: black; }
Q12) Which snippet of CSS is commonly used to center an element horizontally?
- margin: 0 auto;
- margin: center;
- site-align: center;
- margin: auto 0;
Q13) Using only a default style sheet..
- will typically make your page look better.
- will typically make your page look worse.
- will typically have no effect on the appearance of your page.
Q14) Which of the following is not a browser prefix?
Q15) Descendant selectors
....
are more general than child selectors
Q16) How much width will this div occupy?
width:100px;
padding: 10px;
margin: 5px;
border: 2px;
- Introduction to CSS3 Coursera week 1 Quiz Answer
- Introduction to CSS3 Coursera Final Quiz
You may like these posts
Post a comment, search this blog, about us – niyander.
Greetings! My name is Niyander, and I hail from India. At Niyander.com, we strive to impart knowledge and offer assistance to those in need. I hold a degree in Computer Science Engineering, having recently graduated.
- Wind Energy 12
- IoT Cloud 6
- R Programming 4
Popular Posts
Project Planning: Putting It All Together Week 3 Quiz Answer
Project Planning: Putting It All Together Week 2 Quiz Answer
Project Planning: Putting It All Together Week 4 Quiz Answer
Project Planning: Putting It All Together Week 5 Quiz Answer
Pen Settings
Html preprocessor, about html preprocessors.
HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
Learn more · Versions
Add Class(es) to <html>
Adding classes.
In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template . So you don't have access to higher-up elements like the <html> tag. If you want to add classes there that can affect the whole document, this is the place to do it.
Stuff for <head>
About the <head>.
In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template . If you need things in the <head> of the document, put that code here.
Insecure Resource
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS Preprocessor
About css preprocessors.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
About CSS Base
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset . Or, choose Neither and nothing will be applied.
Vendor Prefixing
About vendor prefixing.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit- or -moz- .
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
- Autoprefixer
Add External Stylesheets/Pens
Any URLs added here will be added as <link> s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension .
About External Resources
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css URL Extension ) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript Preprocessor
About javascript preprocessors.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Add External Scripts/Pens
Any URL's added here will be added as <script> s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Add Packages
Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.
About Packages
Using packages here is powered by esm.sh , which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
Auto-Updating Preview
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
Format on Save
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Editor Settings
Code indentation, code indent width, want to change your syntax highlighting theme, fonts and more.
Visit your global Editor Settings .
- Format HTML
- View Compiled HTML
- Analyze HTML
- Maximize HTML Editor
- Minimize HTML Editor
- View Compiled CSS
- Analyze CSS
- Maximize CSS Editor
- Minimize CSS Editor
- Format JavaScript
- View Compiled JavaScript
- Analyze JavaScript
- Maximize JavaScript Editor
- Minimize JavaScript Editor
Editor Commands
Also see: Tab Triggers
Editor Focus
Html specific, pen actions.
Trying viewing this Pen in Debug Mode , which is the preview area without any iframe and does not require JavaScript. Although what the preview is of might!
Need to know how to enable JavaScript? Go here.
Navigation Menu
Search code, repositories, users, issues, pull requests..., provide feedback.
We read every piece of feedback, and take your input very seriously.
Saved searches
Use saved searches to filter your results more quickly.
To see all available qualifiers, see our documentation .
- Notifications You must be signed in to change notification settings
I am including all the assignments That I have submitted for the coursera
pranjalAg/Coursera-Web_design_specialization
Folders and files.
Name | Name | |||
---|---|---|---|---|
16 Commits | ||||
Week-2 | Week-2 | |||
Repository files navigation
Coursera-web_design_specialization.
I am including all the assignments that I have submitted for the Coursera.
Introduction to HTML--> Final Assignment
Introduction to CSS--> Week-1-Assignment; Week-2-Assignment; Week-4-Assignment;
Interactivity with Javascript--> Week-2-Assignment; Week-4-Assignment;
Responsive Web Design--> Week-2-Assignment Week-3-Assignment Week-4-Assignment
Final Capstone Project
- JavaScript 1.8%
IMAGES
VIDEO
COMMENTS
Here is the css script solution for week 2. Copy the code and place it in your css folder. you can follow these steps if you are not clear. fig1. Select CSS folder. fig2. Select hw1 file and paste the code. Now you are done with the assignment. you can save and view your changes by clicking index in fig1. Note: Don't just copy the code, this is ...
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window.
This is a repository contains assignment files and project of Coursera course named "Introduction to CSS3". - iamibayat/Introduction-to-CSS3-Coursera. Web Design for Everybody: Basics of Web Development & Coding Specialization. ... Week 2. Week 2 ...
This repository contains the solutions of programming assignments of the Introduction to CSS3 -Coursera. I have also added some additional files describing various uses and appliactions of CSS3 and HTML5
The # symbol specifies that the selector is a/an. a, class. b, tag. c, id. d, first. c. Which of the following would be used to create class called button which has a width of 750px, a height of 30px and the color of the text is black? a, #button { height: 30px; width: 750px; color: black; } b, #button { height: 30px; width: 750px; text: black; }
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself. You can also link to another Pen here (use the .css URL Extension) and we'll pull the CSS from that Pen and include it.
Introduction to CSS3 week 2 Quiz solution Coursera
Study with Quizlet and memorize flashcards containing terms like Given this rule: div{ border-width:10px 5px; } what is the width of the right border?, The margin is the space between elements. /*Margin, padding, and the border all combine to determining how much space an element takes up on the browser. Review the Box Model lecture. */, Padding is... a, The space between two elements b, The ...
Here you will find all the questions, assignments and quiz answers related to "Introduction to CSS3 By Coursera". N.B. We endeavored our best to keep this site invigorated for our customers in vain. You can similarly contribute by reviving new requests or existing request answer (s). There are various requests on our site, it is hard for us ...
Hi everyone,This video is for education purpose onlylike share and subscribe for more videoPlease visit my Blog to see more contenthttps://priyadigitalworld....
Introduction to CSS3 | Coursera | Web Design for Everybody Specialization | Course 2 Quiz Answers.. Course Link to Enroll:https://www.coursera.org/learn/intr...
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself. You can also link to another Pen here (use the .css URL Extension) and we'll pull the CSS from that Pen and include it.
Saved searches Use saved searches to filter your results more quickly
Week 2: Introduction to CSS3. In this module, CSS3 basics, conflict resolution, text styling, the box model, responsive designs and the Twitter Bootstrp are introduced. Assignment requirment for this module can be found here. We are asked to implement a responsive webpage including a header and three tiles, based on the 12-column grid layout. ...
This a collection of the code needed for Introduction to CSS3 course. It is also used in my Web Design courses. The code may slightly vary from the lectures. Make changes to the code so you can see how the different properties work.
Coursera-Introduction to CSS3-week 2- assignment. Contribute to Webpage-builder/Project-with-CSS-2 development by creating an account on GitHub.
Introduction to CSS3 Coursera week 2 Quiz Answer Niyander September 10, 2021. Introduction to CSS3 Coursera week 2 Quiz Answer. Advanced Selectors Quiz. Q1) Assume that this code is linked together correctly. p{ color: red; padding:10px 5px; background: black;}.fancy{ font-family: cursive; background: red;
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself. You can also link to another Pen here (use the .css URL Extension) and we'll pull the CSS from that Pen and include it.
Solutions to the assignments of the Coursera course "HTML, CSS, and Javascript for Web Developers" by Johns Hopkins University. - goggle/Coursera_HTML-CSS-Javascript-for-Web-Developers ... Assignment description; Deadline: December 25, 11:59 PM PST; Basic Solution (without most of the optional parts) Full Solution (including all the optional parts)
Interactivity with Javascript--> Week-2-Assignment; Week-4-Assignment; Responsive Web Design--> Week-2-Assignment Week-3-Assignment Week-4-Assignment Final Capstone Project