-
Notifications
You must be signed in to change notification settings - Fork 25
DOM Solution - Rajashree #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rajashreemaiya
wants to merge
3
commits into
paircolumbus:master
Choose a base branch
from
rajashreemaiya:ddm-Raj
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file added
BIN
+10.9 KB
haml_sass/.sass-cache/3301e3e8ccd3533e534811c959623982cf9e8c5f/main.sassc
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| !!! 5 | ||
|
|
||
| /DON'T change this file! You should be able to complete this challenge by changing the CSS file only. | ||
|
|
||
| %html{:lang => 'en'} | ||
| %head | ||
| %meta{:charset => 'UTF-8'} | ||
| %title The Awesome Company | ||
| %link{:href => 'bower_components/normalize-css/normalize.css', :rel => 'stylesheet'} | ||
| %link{:href => 'main.css', :rel => 'stylesheet'} | ||
| %body | ||
| .container | ||
| %header | ||
| %span | ||
| %a{:href => '#'} Awesome Company% | ||
| %nav | ||
| %ul | ||
| %li | ||
| %a{:href => '#'} Home | ||
| %li | ||
| %a{:href => '#'} About | ||
| %li | ||
| %a{:href => '#'} Services | ||
| %li | ||
| %a{:href => '#'} Contact | ||
| %section | ||
| %h1 A Page Title | ||
|
|
||
| %section | ||
| %h2 A Paragraph%/h2 | ||
| %p Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum blandit, tellus ornare mollis rhoncus, risus dui tincidunt nisl, nec vulputate sapien neque at tellus. Aenean in ornare nisl, sed porta dui. | ||
| %p Nunc sit amet arcu id ligula commodo consequat vel a lorem. Proin auctor, purus in dictum efficitur, mauris purus dictum augue, vitae laoreet ante nunc in sapie n. Maecenas consectetur egestas euismod. | ||
|
|
||
| %section | ||
| %h2 A Paragraph | ||
| %p Donec faucibus sodales lectus, quis dictum ligula aliquet sit amet. Nam sodales nibh quis quam dictum sollicitudin. Nullam ut est euismod, hendrerit tellus et, euismod turpis. | ||
| %p Nunc sit amet arcu id ligula commodo consequat vel a lorem. Proin auctor, purus in dictum efficitur, mauris purus dictum augue, vitae laoreet ante nunc in sapien. Maecenas consectetur egestas euismod. | ||
|
|
||
| %section | ||
| %h2 A Paragraph | ||
| %p Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas non mauris ac erat consequat rhoncus. Mauris nec sapien luctus, rutrum leo sit amet, pretium elit. | ||
|
|
||
| %footer | ||
| %p Copyright © 2013 Awesome Company LLC. | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| <!DOCTYPE html> | ||
| <!-- DON'T change this file! You should be able to complete this challenge by changing the CSS file only. --> | ||
| <html lang='en'> | ||
| <head> | ||
| <meta charset='UTF-8'> | ||
| <title>The Awesome Company</title> | ||
| <link href='bower_components/normalize-css/normalize.css' rel='stylesheet'> | ||
| <link href='main.css' rel='stylesheet'> | ||
| </head> | ||
| <body> | ||
| <div class='container'> | ||
| <header> | ||
| <span> | ||
| <a href='#'>Awesome Company%</a> | ||
| </span> | ||
| <nav> | ||
| <ul> | ||
| <li> | ||
| <a href='#'>Home</a> | ||
| </li> | ||
| <li> | ||
| <a href='#'>About</a> | ||
| </li> | ||
| <li> | ||
| <a href='#'>Services</a> | ||
| </li> | ||
| <li> | ||
| <a href='#'>Contact</a> | ||
| </li> | ||
| </ul> | ||
| </nav> | ||
| </header> | ||
| <section> | ||
| <h1>A Page Title</h1> | ||
| <section> | ||
| <h2>A Paragraph%/h2</h2> | ||
| <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum blandit, tellus ornare mollis rhoncus, risus dui tincidunt nisl, nec vulputate sapien neque at tellus. Aenean in ornare nisl, sed porta dui.</p> | ||
| <p>Nunc sit amet arcu id ligula commodo consequat vel a lorem. Proin auctor, purus in dictum efficitur, mauris purus dictum augue, vitae laoreet ante nunc in sapie n. Maecenas consectetur egestas euismod.</p> | ||
| </section> | ||
| <section> | ||
| <h2>A Paragraph</h2> | ||
| <p>Donec faucibus sodales lectus, quis dictum ligula aliquet sit amet. Nam sodales nibh quis quam dictum sollicitudin. Nullam ut est euismod, hendrerit tellus et, euismod turpis.</p> | ||
| <p>Nunc sit amet arcu id ligula commodo consequat vel a lorem. Proin auctor, purus in dictum efficitur, mauris purus dictum augue, vitae laoreet ante nunc in sapien. Maecenas consectetur egestas euismod.</p> | ||
| </section> | ||
| <section> | ||
| <h2>A Paragraph</h2> | ||
| <p>Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas non mauris ac erat consequat rhoncus. Mauris nec sapien luctus, rutrum leo sit amet, pretium elit.</p> | ||
| </section> | ||
| <footer> | ||
| <p>Copyright © 2013 Awesome Company LLC.</p> | ||
| </footer> | ||
| </section> | ||
| </div> | ||
| </body> | ||
| </html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| .container | ||
| margin: 0 auto | ||
|
|
||
| section | ||
| width: 60% | ||
| margin: 0 auto | ||
| section | ||
| width: 100% | ||
| margin: 0 auto | ||
|
|
||
| h1 | ||
| border-bottom: 1px solid grey | ||
|
|
||
| header | ||
| background-color: black | ||
| height: 45px | ||
|
|
||
| ul | ||
| margin-top: 7px | ||
|
|
||
| nav | ||
| float: right | ||
| margin-right: 25px | ||
| ul li a | ||
| display: block | ||
| padding: 5px | ||
| color: white | ||
|
|
||
| span | ||
| text-decoration: none | ||
| font-size: 28px | ||
| color:white | ||
| display: inline-block | ||
| margin-top: 6px | ||
| margin-left: 25px | ||
| a | ||
| text-decoration: none | ||
| color: white | ||
|
|
||
|
|
||
| li | ||
| float:left | ||
| list-style-type: none | ||
|
|
||
| footer | ||
| border-top: 1px solid grey |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,72 @@ | ||
| .container { | ||
| .container | ||
| { | ||
| margin: 0 auto; | ||
| } | ||
|
|
||
| /*Put your code here*/ | ||
| section | ||
| { | ||
| width: 60%; | ||
| margin: 0 auto; | ||
| } | ||
|
|
||
| section section | ||
| { | ||
| width: 100%; | ||
| margin: 0 auto; | ||
| } | ||
|
|
||
| h1 | ||
| { | ||
| border-bottom: 1px solid grey; | ||
| } | ||
|
|
||
| header | ||
| { | ||
| background-color: black; | ||
| height: 45px; | ||
| } | ||
|
|
||
| ul | ||
| { | ||
| margin-top: 7px; | ||
| } | ||
|
|
||
| nav | ||
| { | ||
| float: right; | ||
| margin-right: 25px; | ||
| } | ||
|
|
||
| span | ||
| { | ||
| text-decoration: none; | ||
| font-size: 28px; | ||
| color:white; | ||
| display: inline-block; | ||
| margin-top: 6px; | ||
| margin-left: 25px; | ||
| } | ||
|
|
||
| li | ||
| { | ||
| float:left; | ||
| list-style-type: none; | ||
| } | ||
|
|
||
| span a | ||
| { | ||
| text-decoration: none; | ||
| color: white; | ||
| } | ||
|
|
||
| nav ul li a | ||
| { | ||
| display: block; | ||
| padding: 5px; | ||
| color: white; | ||
| } | ||
|
|
||
| footer | ||
| { | ||
| border-top: 1px solid grey; | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of your formatting here is a little hard to follow. Think the most common implementation is