Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

337
Views
How can I determine which parameters are allowed in a HTML tag?

I have an assessment to make, but I am not sure whether or not this question is using the wrong terms? Because I feel like it should ask me which attributes are allowed, or am I just clueless?

Here is the literal translation of the question:

In Laravel Blade you see the following code:

 <x-form name="myform" id="1"></x-form>

How do you determine which other parameters are allowed in this HTML tag?

I was thinking a querySelector can be useful here, but I am not sure.

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

As this is a Laravel component basically you are allowed unlimited attributes in components because it totally depends on your logic. The number of attributes you define in your component class can be used here. You can get more information on Laravel documentation.

https://laravel.com/docs/9.x/blade#components

about 4 years ago · Juan Pablo Isaza Report

0

The trick in this question is that it tests your knowledge about Blade Components. So the valid answer will be: <x-form> is custom Blade Component, so i will go into default components directory (which is App\View\Components) and see the definition of the component with all valid attributes.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!