Html web view showing code


my html web view is showing the code instead of the web view. How can I fix that

Hi @chimejoseph,

Can you share the code with us? And can you share a screenshot of how you added this?

Thank you

<div id="wg-api-football-games"
     data-host="api-football-v1.p.rapidapi.com"
     data-key="b1e2f166b6msh1e0d2c4a6f36d66p12aa4cjsn03c223a20204"
     data-date=""
     data-league=""
     data-season=""
     data-theme=""
     data-refresh="15"
     data-show-toolbar="true"
     data-show-errors="false"
     data-show-logos="true"
     data-modal-game="true"
     data-modal-standings="true"
     data-modal-show-logos="true">
</div>
<script
    type="module"
    src="https://widgets.api-sports.io/2.0.3/widgets.js">
</script>

From where did you copy this code? Does it display if you encode this code and then paste it? Some things are missing in your code in the screenshot.

Hey @chimejoseph,

Are you using Pragmaflow’s component?
If yes, I assume @Mitch-Pragmaflow can advice here.

Best,
Victor.

@chimejoseph in your screenshot I see some elements are missing in the code. Can you encode this code and paste it and try? Also is it possible to share the place where you copied this code?

I copied the code form API-Football - Widgets.
The code is working very fine on W3school html but when I copied it to my adalo, it will just display the data for that moment after some second, it will show the source code

OK thank, I am using plagmaflow

@chimejoseph I got the result!

Try this!

Paste this encoded code on the better web-view component!

%3Cdiv%20id%3D%22wg-api-football-games%22%0A%20%20%20%20%20data-host%3D%22api-football-v1.p.rapidapi.com%22%0A%20%20%20%20%20data-key%3D%22apikey%22%0A%20%20%20%20%20data-date%3D%22%22%0A%20%20%20%20%20data-league%3D%22%22%0A%20%20%20%20%20data-season%3D%22%22%0A%20%20%20%20%20data-theme%3D%22%22%0A%20%20%20%20%20data-refresh%3D%2215%22%0A%20%20%20%20%20data-show-toolbar%3D%22true%22%0A%20%20%20%20%20data-show-errors%3D%22false%22%0A%20%20%20%20%20data-show-logos%3D%22true%22%0A%20%20%20%20%20data-modal-game%3D%22true%22%0A%20%20%20%20%20data-modal-standings%3D%22true%22%0A%20%20%20%20%20data-modal-show-logos%3D%22true%22%3E%0A%3C%2Fdiv%3E%0A%3Cscript%0A%20%20%20%20type%3D%22module%22%0A%20%20%20%20src%3D%22https%3A%2F%2Fwidgets.api-sports.io%2F2.0.3%2Fwidgets.js%22%3E%0A%3C%2Fscript%3E

And then after pasting add your API key on the apikey text! :

And then try again!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.