JnTng

JnTng

Member Since 2 Months Ago

Experience Points
4,030
Total
Experience

970 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
35
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 1
4,030 XP
Sep
17
2 days ago
Activity icon

Replied to X-component : Cannot Pass Variable In <>

Actually, the first time I followed lessons, and made it anonymous. Its also not work... That's why I and a component class...

Activity icon

Replied to X-component : Cannot Pass Variable In <>

@marianomoreyra

Thanks for your reply!

Base on your comment, I searched the "anonymous component". Indeed, my layout component is not anonymous.

At first, I just delete Views/Components/Layout.php, and I get this:

Target class [App\View\Components\Layout] does not exist. (View: C:\laragon\www\laravel7_starter\resources\views\content.blade.php)

ok, then, I made a new anonymous component "anonoyous.blade.php" and it works!

The magic happened...after "anonoyous.blade.php" works, the error also gone...

Sep
16
3 days ago
Activity icon

Started a new Conversation X-component : Cannot Pass Variable In <>

Hello,

I am learning the blade lesson. I try to pass variable title in <>, but it dosen't work.

The content.blade can show "Buy Me a Coffee" and " Laravel 7 Blade Component Note". Why the "Laravel" not show up?

resources/views/content.blade.php

<x-layout title="Laravel">
    <x-slot name="ad">
        Buy Me a Coffee
    </x-slot>

    Laravel 7 Blade Component Note
</x-layout>

resources/views/components/layout.blade.php

<div>
    Hello {{ $title }}
</div>

<div>
    @if( isset($ad) )
        <div class="ad">
            {{ $ad }}
        </div>
    @endif

    <div class="dashboard">
        {{ $slot ?? '' }}
    </div>
<div>
Sep
02
2 weeks ago
Activity icon

Awarded Best Reply on Homestead Database\QueryException

the problem is solved the reason is that the project I cloned use 'unix_socket' => '/Applications/MAMP/tmp/mysql/mysql.sock'

and I didnt install MAMP

Thanks @automica helping me.

Activity icon

Replied to Homestead Database\QueryException

@automica Yeah, I dont know what is MAMP before...

Activity icon

Replied to Homestead Database\QueryException

the problem is solved the reason is that the project I cloned use 'unix_socket' => '/Applications/MAMP/tmp/mysql/mysql.sock'

and I didnt install MAMP

Thanks @automica helping me.

Activity icon

Replied to Homestead Database\QueryException

@automica thanks for ur suggestion

I fix my port to 3306 and run config:cache and I've used vagrant ssh then run migrate

however I got same error message

Activity icon

Started a new Conversation Homestead Database\QueryException

I use Homestead and my .env setting is base on Laravel document suggestion

(To connect to your MySQL or Postgres database from your main machine via Navicat or Sequel Pro, you should connect to 127.0.0.1 and port 33060 (MySQL) or 54320 (Postgres). The username and password for both databases is homestead / secret.)

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=33060
DB_DATABASE=laravel-shopping
DB_USERNAME=homestead
DB_PASSWORD=secret

However I got this error when I run migrate:install

   Illuminate\Database\QueryException  : SQLSTATE[HY000] [2002] No such file or directory (SQL: create table `migrations` (`id` int unsigned not null auto_increment primary key, `migration` varchar(191) not null, `batch` int not null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')

I've spent hours on it, help me plz.

Sep
01
2 weeks ago
Activity icon

Commented on Installation And A Visitor Counter

if you use Homestead and meet RedisException Connection refused

try:

  1. vagrant ssh
  2. sudo service redis-server start
Jul
21
1 month ago
Activity icon

Commented on Tailwind Customization

use

npx tailwind init --full