Posts by Israel Martins • 11 points
2 posts
-
-1
votes2
answers273
viewsA: comparing a variable with a vector or list
Try using the lambda expression(function without declaration) in the foreach function List<String> list = Arrays.asList("1", "2d", "sf3", "fgfd4", "fgdf5", "6", "7"); list.forEach(n ->…
-
1
votes3
answers563
viewsA: How to give the "modal" effect on a div?
Follow this example below, this site has other examples of modal box https://www.w3schools.com/howto/howto_css_modals.asp <!DOCTYPE html> <html> <head> <meta name="viewport"…