Code Monkey home page Code Monkey logo

project-news-site's Introduction

News Site

In this project I've built a news site about a dear friend of mine; Alva (dog).

The problem

The main task was to build a news site with a responsive design containing one section with one big article and a grid section with a few other articles. The tools/techniques used for this project was HTML, CSS (general styling, flexbox, responsive design) and Javascript.

First I did a general sketch on paper of how I wanted the layout to look like on different devices. After that I started coding and began with the general layout for the mobile device first. With the basic HTML-structure in place I started adding styling and content, which I continuously adjusted throughout the whole project with the help of the dev tools in Chrome. In this process I also added the media query to be able to make the site responsive and look different on the devices mobile, tablet and desktop.

If I had more time I would have tried to use CSS-grid instead of flexbox to solve the structure of the news articles. Using CSS-grid for the section with other news might have made the responsive design easier to adjust when considering the different desktop sizes, but my solution works OK in my opinion. Regarding my menu animation in mobile view, I would have maybe changed the animation to come from the top instead of right. One last thing is that I could have added more css styling to the main news article in the mobile view in such a way to make it stand out more in relation to the other news articles.

View it live

To view the site I've created, check it out here: https://wonderful-wozniak-f94705.netlify.app/

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.