Posts by Pedro Medeiros • 35 points
2 posts
-
3
votes2
answers119
viewsQ: How to use 'Else if' correctly?
I built a function called min which returns the smallest number that is passed in one of its two arguments. When the numbers are equal it returns null. I was able to make the code work as follows:…
-
0
votes1
answer48
viewsQ: How does a script work on a web page?
I created a page with three divs that direct to videos according to their title, when clicking on each of them, a modal is opened with the respective video of div. This is the HTML: <body>…