GithubHelp home page GithubHelp logo

albercher / phase-0-html-riyadh-blog-lab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from learn-co-curriculum/phase-0-html-riyadh-blog-lab

0.0 0.0 0.0 4.43 MB

License: Other

Ruby 69.43% CSS 10.90% HTML 19.67%

phase-0-html-riyadh-blog-lab's Introduction

Riyadh Blog

Learning Goals

  1. Create an HTML structure for an existing mockup

Introduction

Web developers are often asked to work from a mockup of a potential webpage, generally referred to as either a mockup or comp. In this lab, you'll be asked to use a mockup image, source text and images, and create an HTML structure that mirrors the mockup image.

Getting Started

Fork and clone this lesson into your local environment. Navigate into its directory in the terminal, then run code . to open the files in Visual Studio Code. Finally, run bundle to install the lab's dependencies.

Create an HTML Structure for an Existing Mockup

Process

In the index.html file, use the comments in the code to place the content from SOURCE.md in the proper locations. The image file MOCKUP.jpg can be used as a reference to build the index.html page as it appears.

Open index.html in a separate browser tab to see your progress as you work. Run rspec as you go to see test results.

Bonus

Use CSS in the style.css file in the css folder to change different aspects about your page such as:

  • font color
  • font size
  • font family
  • change the background image to a color
  • change the background color to a gradient

You can also try modifying these styles on-the-fly by modifying them with the developer tools of your browser.

You might think: "BUT I DON'T KNOW CSS" (very well or at all). Developers constantly encounter this feeling. Since developers are constantly learning, we try to keep the commands as simple as possible. You might know more than you think! What happens if you change red to green? What do you expect? How would you validate your guess? Developers usually call this process "trying stuff" or "messing around" or "playing with stuff." While all those phrases sound like a joke, what they mean to say is that they're using the Scientific Method to validate their guesses into building a model.

It's possibly the most powerful learning technique possible. Toddlers and puppies are amazing at it!

Saving Your Work Remotely

Currently, the work you've done on this assignment is only on your local machine. To preserve work on your GitHub fork, you will need to stage the changes you've made, commit them, and push the commit up to GitHub. Use the following commands to do this:

$ git add .
$ git commit -m "Completed assignment"
$ git push

If you visit your fork on GitHub, you should now see that you've made the most recent commit, and your solution will be present in the files.

phase-0-html-riyadh-blog-lab's People

Contributors

albercher avatar annjohn avatar bal360 avatar fislabstest avatar fs-lms-test-bot avatar gj avatar ihollander avatar jongrover avatar josephrosenberg avatar joshuabamboo avatar lizbur10 avatar maxwellbenton avatar pletcher avatar sarogers avatar sgharms avatar sophiedebenedetto avatar victhevenot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.