Coder Social home page Coder Social logo

laravel-check-your-skill-test's Introduction

laravel-check-your-skill-test's People

Contributors

ilhm344 avatar lee-to avatar work3212 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

laravel-check-your-skill-test's Issues

need php 8

Problem 1
- Installation request for psr/log 2.0.0 -> satisfiable by psr/log[2.0.0].
- psr/log 2.0.0 requires php >=8.0.0 -> your PHP version (7.4.14) does not satisfy that requirement.
Problem 2
- psr/log 2.0.0 requires php >=8.0.0 -> your PHP version (7.4.14) does not satisfy that requirement.
- filp/whoops 2.14.4 requires psr/log ^1.0.1 || ^2.0 || ^3.0 -> satisfiable by psr/log[2.0.0].
- Installation request for filp/whoops 2.14.4 -> satisfiable by filp/whoops[2.14.4].

Уточнения

Тест по миграциям, задания не трудные, для новичка самое то, единственное долго разбирался какое задание к какой таблице относится, пришлось залезть в файлы теста и смотреть результаты проверки. И в задании 7 Blade шаблонизатора #### Задание 7: ForEach
resources/views/table.blade.php
Здесь сделайте классический foreach loop

  • Выведите div с $user->name
  • Воспользуйтесь переменной $loop и у нечетных div выведите класс - bg-red-500

Почему-то так и не получилось выполнить условие теста по добавлению класса для нечетных див-ов.
Код при создании сидов и выводе на страницу отрабатывает так как надо.
@foreach($data as $user)
<div @if($loop->odd) class="bg-red-500" @endif > {{ $user->name }}
@Endforeach

Так и не понял, почему результат теста не пройден.

А так большое спасибо, освежил старое и взял на вооружение новые вещи!!!!

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.