Skip to content

Full Stack Developer Test Submission - Ashwini#12

Open
Ashwini270999 wants to merge 5 commits into
WPoets:masterfrom
Ashwini270999:master
Open

Full Stack Developer Test Submission - Ashwini#12
Ashwini270999 wants to merge 5 commits into
WPoets:masterfrom
Ashwini270999:master

Conversation

@Ashwini270999

Copy link
Copy Markdown

Hi team,

I have completed the full-stack test assignment. Here is a clear breakdown of what I worked on and the changes I implemented:

  1. • Form Validations: Added proper data cleaning via PHP trim() and required field checks for text fields on both create and edit pages. Added required and accept tags on the frontend inputs to help guide the user.

  2. • Safe File Uploads: Integrated PHP's finfo file checker on the backend to verify the actual file type of image uploads, preventing invalid or bad files from uploading.

  3. • Atomic Image Management: Adjusted the update logic so that an old slide image is only deleted from the folder after the database successfully confirms the record update. If the user edits a slide without changing the image, the current image is safely retained.

  4. • Clean Code Structure: Moved all inline custom CSS into its own external style.css file, and moved the jQuery slider/accordion logic into slider-accordion.js to keep the main index.php clean and readable.

  5. • Delete Confirmation: Added a standard JavaScript alert box to confirm before a user accidentally deletes a slide from the dashboard.

  6. • Technical Questions: Answered all 3 evaluation questions clearly inside the Answers to technical questions.md file in the root folder.

Please let me know if you need any adjustments or further details. Looking forward to your feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant