Giter Club home page Giter Club logo

homework-fe-lessons-20211202's Introduction

Opdrachtbeschrijving

Opdracht 1 - CSS Selectors

De styling van de webpagina Ciao Tutti in index.html (map /opdracht-1) is nog niet helemaal af! Gebruik het CSS bestand styles.css (in dezelfde map) om de styling af te maken. In dat bestand staat (in commentaar) precies wat er moet gebeuren.

Aandachtspunten

  • Denk eraan dat je alleen iets in het HTML-bestand mag veranderen als dit uitdrukkelijk in de opdrachtbeschrijving staat!
  • Je hoeft zelf geen nieuwe bestanden aan te maken. Het styles.css bestand in de map opdracht-1 is al gekoppeld aan het HTML bestand
  • Aan het CSS bestand in de map /base mag je niets veranderen!

Eindresultaat

Website

Opdracht 2 - Flexbox

Ook de styling voor de elementen in index.html (map /opdracht-2) is ook nog niet helemaal af. Er is namelijk nog helemaal geen flexbox toegepast! Bekijk de HTML eens goed en gebruik het CSS bestand styles.css (in dezelfde map) om de elementen er net zo uit te laten zien als het eindresultaat hieronder.

Aandachtspunten

In index.html vindt je de HTML voor de opdracht. Denk eraan:

  • Denk eraan dat je niets in het HTML-bestand mag veranderen, behalve het toevoegen van een class of id-attribuut waar nodig.
  • Alle div-tags in het HTML-bestand hebben een class-naam die overeenkomt met het opdrachtnummer. Deze mag je niet aanpassen.
  • Je kunt voor het gemak de andere HTML-elementen uit-commentariëren als je met een specifieke opdracht bezig bent.
  • Je hoeft zelf geen nieuwe bestanden aan te maken. Het styles.css bestand in de map opdracht-2 is al gekoppeld aan het HTML bestand
  • Aan het CSS bestand in de map /base mag je niets veranderen!
  • Houd er rekening mee dat de body 1200px breed is.
  • Houd het cheatsheet van CSS Tricks bij de hand voor alle Flexbox properties.

Eindresultaat opdracht 2.1:

Zorg dat het paarse review-blok er zo uit komt te zien door flexbox te gebruiken:

Opdracht 2.1

Eindresultaat opdracht 2.2:

Zorg dat de <div class="two"> er zo uit komt te zien door flexbox te gebruiken:

Opdracht 2.2

Eindresultaat opdracht 2.3:

Zorg dat de <div class="three"> er zo uit komt te zien door flexbox te gebruiken:

Opdracht 2.3

Eindresultaat opdracht 2.4:

Zorg dat het login-blok er zo uit komt te zien door flexbox te gebruiken:

Opdracht 2.4

Eindresultaat opdracht 2.5:

Zorg dat de layout van de gele blokken er zo uit komt te zien door flexbox te gebruiken. Elk blok heeft een minimale breedte van 1/3 van het originele scherm van 1200px. Let op: er zit ook nog padding op.

Opdracht 2.5

Als het scherm kleiner wordt, willen we dat de blokken op de volgende regel wrappen zodra ze niet meer passen:

Opdracht 2.5

homework-fe-lessons-20211202's People

Contributors

grept avatar

Watchers

 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.