Giter Club home page Giter Club logo

modulo-1-evaluacion-final-ceciperiquet's Introduction

FINAL EVALUATION

The first module of Adalab Web Development Bootcamp it´s ending and this is the final exam we have to pass. I'm Ceci, a newbie in web development, so please join me in my FIRST EVER README.

Statement

We had to create a responsive website (with different zeplin desings for mobile, tablet and desktop version) and had to include the following:

  • Sass
  • Both Flexbox and CSS Grid
  • Mediaqueries
  • Transitions (an animation would be a BONUS)

ceciperiquet_responsive_samples

Technology

First thing to do was cloning the repository and add the template from ADALAB STARTER KIT, and then npm install to create node_modules folder and start working with node.js and gulp.

From now on we're going to use this template, so we won´t use Live Server but npm start to check changes on our browser (and use our beloved DevTools, by the way I learned A LOT of shadow boxing with the DevTools box, image below).

ceciperiquet_shadow_sample

A Bit of Story and Code

Before jumping over my keyboard to write code, I used excalidraw.com to try to figure out the HTML structure of the website, as our teachers do. (As you can see I considered the hero image as a part of the header, but I guess in this case there's no right or wrong, it's just a point of view).

ceciperiquet_excalidraw_sample

I created the whole HTML structure in index.html but then used partials for the different layouts of the site <header> <main> and <footer> basically, as afterwards I'd do with SASS styles.

First thing I set in .scss document was the variables, int this case I only used variables for the colors that the zeplin design gave us (althought I could have also used variables for the fonts).

ceciperiquet_variables_sample

As with the html layout, in this project I'm working with SCSS partials that, as you probably know (sorry, I'm a newbie, first README.MD ever, remember) have to be imported to the main.scss with the following commands:

@import 'core/variables';
@import 'core/reset';
@import 'layout/header';
@import 'layout/section1';
@import 'layout/section2';
@import 'layout/footer';```

As for the _reset.scss I didn't use a reset sheet (as I did in other school projects) felt just happy with:

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

As we have to work with SASS, I've been using nesting (and at some point a bit of BEM when giving classnames) including mediaqueries:

 <section class="main__section1">
    <small class="main__section1-small">Insomnia tips</small>
    <h2 class="main__section1-title">Looking through a window</h2>
    <p class="main__section1-text">
      Donec accumsan, nulla ut volutpat porttitor, quam odio tempus felis, at luctus ex diam nec lectus. Vivamus semper sodales rutrum.
    </p>
    <a href="#" class="main__section1-link">Go</a>
  </section>
.main__section1 {

    @media all and (min-width: 768px) {

    }
    @media all and (min-width: 1200px) {

    }

    &-small {

        @media all and (min-width: 1200px) {

        }
    }

    &-title {

        @media all and (min-width: 768px) {

        }
        @media all and (min-width: 1200px) {

        }
    }

    &-text {

        @media all and (min-width: 768px) {

        }

    }
}

I kind of like them and hate them at the same time, it might be easier at some point but not with so less time to switch your brain from reglular CSS to SASS (ahhh, bootcamps...). I would have loved to add mixins but hadn't enought time.

I have to say that I love Flex, and I'm still understanding Grid, so, for now I'm #teamFlex

I really wanted to animate some stuff (as I used to be a tv worker, video is my passion) but I didn't have time enough to do a super amazing awesome one (mainly because I learned abput the last day, trying to get everything done) so I made a simple one just to try it and start learning about it. I also used some regular transitions for other buttons.

The Result

You can take a look of how it ended up in Github Pages: http://beta.adalab.es/modulo-1-evaluacion-final-CeciPeriquet/

Btw, don't look to much to my code, it hasn't been aprooved yet... (oh, Hi Teacher!)

And, please, don´t forget:

npm run docs
git add -A
git commit -m ""
git push
*/ GO HAVE A BEER, YOU DESERVE IT /*

modulo-1-evaluacion-final-ceciperiquet's People

Contributors

ceciperiquet avatar

Stargazers

 avatar

modulo-1-evaluacion-final-ceciperiquet's Issues

Mejoras

Muy buen trabajo @CeciPeriquet!!!

Aquí tienes unos consejos para mejorar tu ejercicio:

  • HTML > HAMBURGUESA: El menú de la hamburguesa debe tener un nav.
  • HTML > MÓDULO LOOKING: Debe haber un elemento con el texto "Insomnia tips" que sea un H2 - H6.

Es posible que cuando corrijas uno de estos puntos, otros se corrijan solos, ya que unos dependen de otros.

Y recuerda algo muy importante:

  • Escribe tu código en inglés.
  • Escribe todos los ficheros y carpetas en inglés.
  • Los commits también tienen que ser en inglés, empezando por un verbo en infinitivo.

Ánimo y si tienes cualquier duda avísame!!!

Con cada mejora que hagas, márcala como completada en este issue y su súbela a este repo.

Este issue ha sido creado automáticamente por ello puede tener algún error, si hay algo que no te encaja escribe por slack al coordinador de Adalab.

Para corregir el ejercicio buscamos determinadas palabras en el código para identificar las secciones. Por ejemplo buscamos Creando para buscar el título de la página. Si has escrito mal alguna palabra en el código es posible que te aparezcan aquí falsos errores.

Por favor no cierres este issue, ya lo haremos nosotros.

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.