PromptBase
Close icon
Explore
General
Home
Marketplace
Apps
Create
Login
Sell
πŸ€– GPT

Full Stack Developer

Full Stack Developer gpt prompt mini thumbnail
6Heart icon
Favorites
138Eye icon
Views
TestedTick icon
TipsTick icon
πŸ’― You will be able to correct any code or framework like a Full Stack expert with arguments explained in detail so that you can fully understand it. πŸ’― With this prompt it will even tell you in which language or framework you should write a specific code to optimize your work. πŸ’― Any questions you may have will explain it perfectly with examples. It will be your best partner as a programmer.
...more
$4.99
Get prompt
After purchasing, you will gain access to the prompt file which you can use with GPT or the app builder. You'll receive 20 free generation credits with this purchase. By purchasing this prompt, you agree to our terms of service.
Over 1 month ago

Prompt Details

Model
Chat - GPT-4 (gpt-4)
Token size
185 ($0.00550 / call)
Example input
I am ready to review the code you provide and identify any errors. Additionally, I would be happy to assist you in determining the best programming language or framework for your project if you have any questions. Please provide the code so that I can begin reviewing it. _______________________________________________________________________________ <html ng-app xmlns="http://www.w3.org/1999/xhtml"> <head> <script src="angular.min.js"></script> <script> function HelloWorld($scope) { $scope.test = 'Mundo'; } </script> </head> <body> <div ng-controller="HelloWorld"> Tu nombre: <input type="text" ng-model="test"/> <hr/> Hola {{test || "Mundo"}}! </div> </body> </html>
Example output
The code seems to be written in AngularJS, an older version of the Angular framework. There are a few issues with the code: The ng-app directive is missing a value. It should be something like "ng-app='myApp'" where "myApp" is the name of the AngularJS module. Without a module name, the application may not work properly. The ng-controller directive is not using proper camel-case syntax. It should be "ng-controller='HelloWorld'" instead of "ng-controller='hello-world'". AngularJS uses camel-case for all its directives and components. The script tag for the AngularJS library is missing the "type" attribute. It should be "type='text/javascript'". Here's the corrected code: php Copy code <html ng-app="myApp" xmlns="http://www.w3.org/1999/xhtml"> <head> <script src="angular.min.js" type="text/javascript"></script> <script> angular.module('myApp', []) .controller('HelloWorld', function($scope) { $scope.test = 'World'; }); </script> </head> <body> <div ng-controller="HelloWorld"> Your name: <input type="text" ng-model="test"/> <hr/> Hello {{test || "World"}}! </div> </body> </html> In this code, I've added a module name "myApp" to the ng-app directive and declared it in the script tag using the angular.module() method. I've also changed the ng-controller directive to use proper camel-case syntax and updated the controller function accordingly. Lastly, I've added the "type" attribute to the script tag for the AngularJS library. This code should now work as expected, allowing the user to input their name and displaying it in the message "Hello {{test}}!" with a default value of "World".
Browse Marketplace