Weekend fun with Frontend Mentor Challenge in Power Apps
FEM Stats preview card component Low coding in Power Apps

Weekend fun with Frontend Mentor Challenge in Power Apps

Today we had a rainy ??? Saturday morning so I took another Junior HTML/CSS challenge called Frontend Mentor | Stats preview card component coding challenge and tried to turn it into a Power Apps.

My learning:

If text label has no letter-spacing property so Label control in Power Apps won't work. HTML Text control to the rescue.

Another tricky part is the mobile and desktop image position, where on desktop image is on the right side while on mobile the image is on the top of the text. I could not find the way just show and hide the visibility of different containers depending on App.ActiveScreen.Size.

Regardless of HTML Text control, some CSS properties are ignored.

style='mix-blend-mode: multiply;        

ˉ\_(ツ)_/ˉ

Not to over complicate my low-code approach I put a rectangle in front the image and changed the fill opacity to 50%. Another approach could be to apply the color blending in Photoshop and have at least 2 Static Container and 2 Rectangle controls less.

No alt text provided for this image
No alt text provided for this image
On mobile does not fit in one screen but can scroll

Actually this layout required a lot of thinking about different brake points since the stats part was in columns but had to turn into rows, Power Apps has its flex property and playing with flexible and minimum widths and LayoutMinHeight properties for a while to make is behave as above.

If(App.ActiveScreen.Size>2, LayoutJustifyContent.End, LayoutJustifyContent.SpaceBetween)        

Another challenge I faced is the Frontend Mentor | Age calculator app coding challenge and I consider it even more fun is the validation part and figuring out how to use the DateDiff function and turn days into years and months. I put it aside not to think all weekend for every single requirement. Leap years, days in months which do exist etc, Gosh I would have to write a whole bunch of nested If statements, With functions and local variables. The fun part was the resizing exercise where based on the App.ActiveScreen.Size I had to resize all the fonts, inputs and image and its position. Lucky me there were no box shadows.

No alt text provided for this image
Validation of inputs in Power Apps Studio

Container Height is also vary due to visibility of labels during validation.

ContainerDay.Height+ContainerArrowBtn.Height+HtmlTextDD.Height+HtmlTextMM.Height+HtmlTextYY.Height+Self.PaddingTop+Self.PaddingBottom        

Here is a video when I was testing on mobile. Notice that gap between inputs is and the SVG image is different before and after validation. Those small details are keeping me busy when exploring Power Apps. Fonts are off, typography in Powers Apps is also challenging since without PCF control you have no access to Google Fonts. ??

No alt text provided for this image
Testing validation and animation on mobile Power Apps

Thanks for scrolling this far.

要查看或添加评论,请登录

Krzysztof Borkowski的更多文章

  • Uploading Files to Canvas Power Apps from Different Folders with Non-Unique Names

    Uploading Files to Canvas Power Apps from Different Folders with Non-Unique Names

    TLDR: In this article, I will try to explain how do I upload files as media to Canvas Power Apps when these files are…

  • Centering (flex) containers in Power Apps

    Centering (flex) containers in Power Apps

    Hi everyone, Happy April's 1st. I also fooled myself with trying to vertically center align a container.

    4 条评论
  • SetFocus() to the rescue ??♂?

    SetFocus() to the rescue ??♂?

    How I used SetFocus() to improve the user experience of my Power Apps project Hi ?? everyone, I hope you are having or…

    13 条评论
  • FEM Job listing with filtering got PowerApp'ed

    FEM Job listing with filtering got PowerApp'ed

    This Sunday low-code project was challenging for different reasons. Here it is Frontend Mentor | Job listings with…

  • This weekend was about WeatherAPI

    This weekend was about WeatherAPI

    Kristine just dropped a Free Power Apps design masterclass on Youtube last Friday evening. So I decided to let's build…

    2 条评论
  • Where in the world FEM challenge got Power App'ed

    Where in the world FEM challenge got Power App'ed

    This weekend challenge was pretty massive and indeed a bit more time consuming than I previously estimated for it…

    5 条评论
  • Time tracking dashboard Power App'ed

    Time tracking dashboard Power App'ed

    Saturday afternoon challenged myself to build this Frontend Mentor | Time tracking dashboard coding challenge with…

  • Friday evening fun with Power Apps basic animation capabilities

    Friday evening fun with Power Apps basic animation capabilities

    This Friday evening I took this Frontend Mentor | Fylo data storage component coding challenge, low-coded and added…

  • FEM Four Cards Challenge Power App'ed

    FEM Four Cards Challenge Power App'ed

    Frontend Mentor | Four card feature section coding challenge As a Saturday relaxation I was trying to wrap my head…

  • FAQ accordion card in PowerApps

    FAQ accordion card in PowerApps

    Quick tutorial how to create a simple accordion card with flexible height gallery in Power Apps. Layout, text, colors…

社区洞察

其他会员也浏览了