HELLO WORLD


PIXELFOLIO.DEV is my portfolio site. Here you can get an overview of my personal work and skills. If you have questions, feel free to contact me through the form on the bottom.

PROGRAMMING LANGUAGES

        
export default class Modal{
    constructor(){
      this.modalWrappers = document.querySelectorAll(".modal-wrapper");
      this.modal;
        this.events();
      }
      
      events(){
        if(this.modalWrappers){
          this.modalWrappers.forEach(modalWrapper => {
            const myModal = modalWrapper.querySelector(".my-modal")
            const openButton = modalWrapper.querySelector("#open-modal");
            const closeButton = modalWrapper.querySelector("#close-modal");    
            openButton.onclick = ()=> this.handleOpenButton(myModal)
            closeButton.onclick = ()=> this.handleCloseButton()
          });
        }
    }
        
namespace FuhrparkmanagmentApp.ViewModels
{
    internal partial class CarEditViewModel : ViewModelBase
    {
        private NavigationStore _navigationStore;
        private int _currentCarId;

        [ObservableProperty]
        private Car _currentCar;

        [ObservableProperty]
        private Tier _selectedTier;

        [ObservableProperty]
        public string _uploadedImagePath; 

        [ObservableProperty]
        public IEnumerable _allTiers;

        [ObservableProperty]
        public string _placeholderImage = "pack://application:,,,/Images/placeholder_image.png";
    }
}

Function CalculateFactorial(n As Integer) As Long
If n <= 1 Then
        CalculateFactorial = 1
    Else
        CalculateFactorial = n * CalculateFactorial(n - 1)
    End If
End Function

Sub Main()
    Dim num As Integer
    num = 5

    Dim result As Long
    result = CalculateFactorial(num)

    MsgBox "The factorial of " & num & " is " & result

End Sub
        
class PlaceholderBlock {
    function __construct($name) {
      $this->name = $name;
      add_action("init", [$this, "onInit"]);
    }
  
    function ourRenderCallback($attributes, $content) {
      ob_start();
      require get_theme_file_path("/pixelfolio-blocks/{$this->name}.php");
      return ob_get_clean();
    }
  
    function onInit() {
      wp_register_script($this->name, get_stylesheet_directory_uri() . "/pixelfolio-blocks/{$this->name}.js", array("wp-blocks", "wp-editor"));
      
      register_block_type("pixelfolio/{$this->name}", array(
        "editor_script" => $this->name,
        "render_callback" => [$this, "ourRenderCallback"]
      ));
    }
  }

INSIGHTS INTO MY PERSONAL WORK

FRAMEWORKS & TOOLS I AM USING

console.log("This is not a bug, it's a feature!");

SEND ME A MESSAGE

Please enable JavaScript in your browser to complete this form.
Name