GithubHelp home page GithubHelp logo

first_project's Introduction

first_project's People

Contributors

viklysx avatar

Watchers

 avatar

first_project's Issues

Layout + styles

  1. https://github.com/Viklysx/testrep/blob/588e806661f3d063ab0320f65d554e0326a4b45f/styles/style.css#L122
    Вот этот стиль перебивает стиль основного контейнера и у вас слетает центровка блока.

  2. https://github.com/Viklysx/testrep/blob/588e806661f3d063ab0320f65d554e0326a4b45f/index.html#L45
    Хорошее переиспользование стилей, но sub - неприемлемое имя для класса. Совершенно непонятно что оно означает. Лучше всего обозначить как btn-transparent или типа того

  3. https://github.com/Viklysx/testrep/blob/588e806661f3d063ab0320f65d554e0326a4b45f/index.html#L47-L51
    Следите за форматированием кода.

  4. https://github.com/Viklysx/testrep/blob/588e806661f3d063ab0320f65d554e0326a4b45f/index.html#L27
    Сделайте телефон ссылкой

Slider

  1. https://github.com/Viklysx/testrep/blob/343f0f6266fc2678e77fa60dcaee6d846247e11d/js/slider.js#L59
    нужно classList.remove('active')
    https://github.com/Viklysx/testrep/blob/343f0f6266fc2678e77fa60dcaee6d846247e11d/js/slider.js#L66
    нужно classList.add('active')

  2. https://github.com/Viklysx/testrep/blob/343f0f6266fc2678e77fa60dcaee6d846247e11d/js/slider.js#L64
    Нужно убрать эти проверки и передавать в функцию index вместо id, т.е.

slide(index) {
  sld_1.src = variants[index].img;
  slides[index].classList.add("active");
  ...
}

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.