@extends('layouts.app') @section('content')

{{ $course->title }}

{{ $course->short_description }}

{{--Best seller--}} 5 (20 ratings) 100 students enrolled
{{----}} {{--Created by--}} {{--first_name last_name--}} {{----}} Created on {{ $course->created_at }} Last updated on {{ $course->updated_at }} English
What i will learn?
  • {{ $course->outcomes }}

Lessons for this course
{{ $course->lessons->count() }} lessons 2 hours
    @foreach($course->lessons as $lesson)
  • {{ $lesson->title }} {{ $lesson->duration }}
  • @endforeach
Requirements
  • {{ $course->requirements }}
+ View More
Description
{{ $course->description }}
+ View More
Other Related Courses
About the instructor
  • 100 reviews
  • 120 Students
  • 11 Courses
+ View More
title
biography
Student feedback
{{ $course->average }}
Average rating
{{--
--}} {{--
--}} {{--
    --}} {{--@for($i = 1; $i <= 5; $i++)--}} {{--
  • --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{----}} {{--@for($j = 1; $j <= (5 - $i); $j++)--}} {{----}} {{--@endfor--}} {{--@for($j = 1; $j <= $i; $j++)--}} {{----}} {{--@endfor--}} {{----}} {{--30%--}} {{--
    --}} {{--
  • --}} {{--@endfor--}} {{--
--}} {{--
--}} {{--
--}}
Reviews
    @foreach($course->reviews as $review)
  • {{ $review->created_at }}
    {{ $review->user->name }}
    @for($i = 1; $i < 6; $i++) @if ($i <= $review->rating) @else @endif @endfor
    {{ $review->review }}
  • @endforeach
${{ $course->price }}
{{--
--}} {{----}} {{--
--}}
@if(Cart::get($course->id)) Buy now @else
@csrf
@endif
Includes:
  • on_demand_videos
  • {{ $course->lessons->count() }} lessons
  • Full lifetime access
  • Access on mobile and tv
@endsection